Chromium Code Reviews| Index: runtime/vm/dart.cc |
| =================================================================== |
| --- runtime/vm/dart.cc (revision 9969) |
| +++ runtime/vm/dart.cc (working copy) |
| @@ -78,6 +78,7 @@ |
| Symbols::InitOnce(vm_isolate_); |
| PremarkingVisitor premarker(vm_isolate_); |
| vm_isolate_->heap()->IterateOldObjects(&premarker); |
| + vm_isolate_->heap()->WriteProtect(true); |
| } |
| Isolate::SetCurrent(NULL); // Unregister the VM isolate from this thread. |
| Isolate::SetCreateCallback(create); |