Index: src/marking-thread.cc |
diff --git a/src/marking-thread.cc b/src/marking-thread.cc |
index ac6438126891ff0d26e7e021d12bdb43cf9bd817..574485abc7b1c7ae36c2cc04d1a2d2e663fa2921 100644 |
--- a/src/marking-thread.cc |
+++ b/src/marking-thread.cc |
@@ -52,6 +52,9 @@ Atomic32 MarkingThread::id_counter_ = -1; |
void MarkingThread::Run() { |
Isolate::SetIsolateThreadLocals(isolate_, NULL); |
+ DisallowHeapAllocation no_allocation; |
+ DisallowHandleAllocation no_handles; |
+ DisallowHandleDereference no_deref; |
while (true) { |
start_marking_semaphore_->Wait(); |