Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 5b7fe56133d128267a0d37972dcd129a12d92d38..aa51bea31cb1ac5eea78c4b80db390e1496d88f0 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -92,8 +92,8 @@ |
CHECK(heap->InSpace(*array, NEW_SPACE)); |
// Call mark compact GC, so array becomes an old object. |
- heap->CollectAllGarbage(); |
- heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ heap->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
// Array now sits in the old space |
CHECK(heap->InSpace(*array, OLD_SPACE)); |