Index: runtime/vm/isolate.cc |
=================================================================== |
--- runtime/vm/isolate.cc (revision 43047) |
+++ runtime/vm/isolate.cc (working copy) |
@@ -1074,7 +1074,8 @@ |
while (old_space->tasks() > 0) { |
ml.Wait(); |
} |
- heap_->Verify(kForbidMarked); |
+ // The VM isolate keeps all objects marked. |
+ heap_->Verify(this == Dart::vm_isolate() ? kRequireMarked : kForbidMarked); |
} |
#endif // DEBUG |