| Index: src/sweeper-thread.cc
|
| diff --git a/src/sweeper-thread.cc b/src/sweeper-thread.cc
|
| index f08fcfbc6f8297401c4f360397112042bcb373d1..099f5d187915b98f478d533883d6f9cc5bab5ad1 100644
|
| --- a/src/sweeper-thread.cc
|
| +++ b/src/sweeper-thread.cc
|
| @@ -56,6 +56,10 @@ SweeperThread::SweeperThread(Isolate* isolate)
|
|
|
| void SweeperThread::Run() {
|
| Isolate::SetIsolateThreadLocals(isolate_, NULL);
|
| + DisallowHeapAllocation no_allocation;
|
| + DisallowHandleAllocation no_handles;
|
| + DisallowHandleDereference no_deref;
|
| +
|
| while (true) {
|
| start_sweeping_semaphore_->Wait();
|
|
|
|
|