Index: test/cctest/heap/heap-utils.cc |
diff --git a/test/cctest/heap/heap-utils.cc b/test/cctest/heap/heap-utils.cc |
index 7d4d4bf40dc31d4d267ab6df5c3e7f18354a2078..f7edc86dbdd6bf2e1ca42542c3907addba83a96b 100644 |
--- a/test/cctest/heap/heap-utils.cc |
+++ b/test/cctest/heap/heap-utils.cc |
@@ -125,7 +125,8 @@ void SimulateIncrementalMarking(i::Heap* heap, bool force_completion) { |
if (!force_completion) return; |
while (!marking->IsComplete()) { |
- marking->Step(i::MB, i::IncrementalMarking::NO_GC_VIA_STACK_GUARD); |
+ marking->Step(i::MB, i::IncrementalMarking::NO_GC_VIA_STACK_GUARD, |
+ i::IncrementalMarking::FORCE_COMPLETION); |
if (marking->IsReadyToOverApproximateWeakClosure()) { |
marking->FinalizeIncrementally(); |
} |