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

Unified Diff: test/cctest/heap/test-mark-compact.cc

Issue 2313273002: [heap] Test fixes (Closed)
Patch Set: 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
« no previous file with comments | « test/cctest/heap/test-incremental-marking.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/heap/test-mark-compact.cc
diff --git a/test/cctest/heap/test-mark-compact.cc b/test/cctest/heap/test-mark-compact.cc
index a906d3473fec3b07ee78e43111faa94cb1895fe9..87b7c708f369552e67d929ac1a1f6e1e58633712 100644
--- a/test/cctest/heap/test-mark-compact.cc
+++ b/test/cctest/heap/test-mark-compact.cc
@@ -96,6 +96,10 @@ TEST(Promotion) {
}
HEAP_TEST(NoPromotion) {
+ // Page promotion allows pages to be moved to old space even in the case of
+ // OOM scenarios.
+ FLAG_page_promotion = false;
+
CcTest::InitializeVM();
Isolate* isolate = CcTest::i_isolate();
{
« no previous file with comments | « test/cctest/heap/test-incremental-marking.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698