| 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();
|
| {
|
|
|