| Index: src/mksnapshot.cc
|
| ===================================================================
|
| --- src/mksnapshot.cc (revision 9327)
|
| +++ src/mksnapshot.cc (working copy)
|
| @@ -312,7 +312,8 @@
|
| }
|
| // 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.
|
| - HEAP->CollectAllGarbage(true);
|
| + // TODO(gc): request full compaction?
|
| + HEAP->CollectAllGarbage(i::Heap::kNoGCFlags);
|
| i::Object* raw_context = *(v8::Utils::OpenHandle(*context));
|
| context.Dispose();
|
| CppByteSink sink(argv[1]);
|
|
|