diff options
Diffstat (limited to 'deps/v8/test/unittests/heap/heap-utils.cc')
-rw-r--r-- | deps/v8/test/unittests/heap/heap-utils.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/test/unittests/heap/heap-utils.cc b/deps/v8/test/unittests/heap/heap-utils.cc index 66ad8d98c8..24dce15db0 100644 --- a/deps/v8/test/unittests/heap/heap-utils.cc +++ b/deps/v8/test/unittests/heap/heap-utils.cc @@ -19,7 +19,8 @@ void HeapInternalsBase::SimulateIncrementalMarking(Heap* heap, i::MarkCompactCollector* collector = heap->mark_compact_collector(); if (collector->sweeping_in_progress()) { SafepointScope scope(heap); - collector->EnsureSweepingCompleted(); + collector->EnsureSweepingCompleted( + MarkCompactCollector::SweepingForcedFinalizationMode::kV8Only); } CHECK(marking->IsMarking() || marking->IsStopped() || marking->IsComplete()); if (marking->IsStopped()) { |