| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 9dd4b1466272b534b98c2f10d97a8855c749dd77..0ff8bddff282196e4ae7ab4bbbe916b0cef18bc9 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -776,6 +776,7 @@ class Heap {
|
| static const int kNoGCFlags = 0;
|
| static const int kReduceMemoryFootprintMask = 1;
|
| static const int kAbortIncrementalMarkingMask = 2;
|
| + static const int kFinalizeIncrementalMarkingMask = 4;
|
|
|
| // Making the heap iterable requires us to abort incremental marking.
|
| static const int kMakeHeapIterableMask = kAbortIncrementalMarkingMask;
|
| @@ -793,7 +794,7 @@ class Heap {
|
| // non-zero, then the slower precise sweeper is used, which leaves the heap
|
| // in a state where we can iterate over the heap visiting all objects.
|
| void CollectAllGarbage(
|
| - int flags, const char* gc_reason = NULL,
|
| + int flags = kFinalizeIncrementalMarkingMask, const char* gc_reason = NULL,
|
| const GCCallbackFlags gc_callback_flags = kNoGCCallbackFlags);
|
|
|
| // Last hope GC, should try to squeeze as much as possible.
|
|
|