Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 64d995d95ad9c9668f54185d7ad7bb283cde80f5..acb49c95d57c08b1b17f94be759676e6becf58d1 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -127,6 +127,7 @@ TEST(NoPromotion) { |
TEST(MarkCompactCollector) { |
FLAG_incremental_marking = false; |
+ FLAG_retain_maps_for_n_gc = 0; |
CcTest::InitializeVM(); |
Isolate* isolate = CcTest::i_isolate(); |
TestHeap* heap = CcTest::test_heap(); |