Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 0a257ed87d0d984fc3d46f16d60383fa188a6ea1..5006c103d7a63e04951a01999f8652f3b61518df 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -128,6 +128,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(); |