Index: test/cctest/test-symbols.cc |
diff --git a/test/cctest/test-symbols.cc b/test/cctest/test-symbols.cc |
index a04ffa70c569368a46852c58dee0cfb8b47881c9..6fceea613531636a1616ca0056f96bb5026f04d5 100644 |
--- a/test/cctest/test-symbols.cc |
+++ b/test/cctest/test-symbols.cc |
@@ -37,7 +37,7 @@ TEST(Create) { |
#endif |
} |
- CcTest::heap()->PerformScavenge(); |
+ CcTest::heap()->CollectGarbage(i::NEW_SPACE); |
CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
// All symbols should be distinct. |