Index: src/mksnapshot.cc |
=================================================================== |
--- src/mksnapshot.cc (revision 7102) |
+++ src/mksnapshot.cc (working copy) |
@@ -228,7 +228,7 @@ |
} |
// If we don't do this then we end up with a stray root pointing at the |
// context even after we have disposed of the context. |
- i::Heap::CollectAllGarbage(true); |
+ i::Heap::CollectAllGarbage(i::Heap::kNoGCFlags); |
i::Object* raw_context = *(v8::Utils::OpenHandle(*context)); |
context.Dispose(); |
CppByteSink sink(argv[1]); |