Index: test/cctest/test-symbols.cc |
diff --git a/test/cctest/test-symbols.cc b/test/cctest/test-symbols.cc |
index 556cc498317d1decf5c35ce7ea3516a18d1fe2d9..220c52bd65f59c6c244a07f0a66201110d024236 100644 |
--- a/test/cctest/test-symbols.cc |
+++ b/test/cctest/test-symbols.cc |
@@ -71,8 +71,8 @@ TEST(Create) { |
#endif |
} |
- CcTest::heap()->CollectGarbage(i::NEW_SPACE); |
- CcTest::heap()->CollectAllGarbage(); |
+ CcTest::CollectGarbage(i::NEW_SPACE); |
+ CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask); |
// All symbols should be distinct. |
for (int i = 0; i < kNumSymbols; ++i) { |