Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: test/cctest/test-symbols.cc

Issue 2310143002: [heap] Introduce enum of garbage collection reasons. (Closed)
Patch Set: fix win Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698