Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 913d80a180815ce81863368b84a04e205fec4f5a..ee9343a9ec79e13db5bf676d16316a26f0ba777f 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2208,7 +2208,7 @@ TEST(OptimizedAllocationAlwaysInNewSpace) { |
TEST(OptimizedPretenuringAllocationFolding) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
i::FLAG_allocation_site_pretenuring = false; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
@@ -2251,7 +2251,7 @@ TEST(OptimizedPretenuringAllocationFolding) { |
TEST(OptimizedPretenuringAllocationFoldingBlocks) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
i::FLAG_allocation_site_pretenuring = false; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
@@ -2294,7 +2294,7 @@ TEST(OptimizedPretenuringAllocationFoldingBlocks) { |
TEST(OptimizedPretenuringObjectArrayLiterals) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2323,7 +2323,7 @@ TEST(OptimizedPretenuringObjectArrayLiterals) { |
TEST(OptimizedPretenuringMixedInObjectProperties) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2358,7 +2358,7 @@ TEST(OptimizedPretenuringMixedInObjectProperties) { |
TEST(OptimizedPretenuringDoubleArrayProperties) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2387,7 +2387,7 @@ TEST(OptimizedPretenuringDoubleArrayProperties) { |
TEST(OptimizedPretenuringdoubleArrayLiterals) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2416,7 +2416,7 @@ TEST(OptimizedPretenuringdoubleArrayLiterals) { |
TEST(OptimizedPretenuringNestedMixedArrayLiterals) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2454,7 +2454,7 @@ TEST(OptimizedPretenuringNestedMixedArrayLiterals) { |
TEST(OptimizedPretenuringNestedObjectLiterals) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2492,7 +2492,7 @@ TEST(OptimizedPretenuringNestedObjectLiterals) { |
TEST(OptimizedPretenuringNestedDoubleLiterals) { |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2538,7 +2538,7 @@ TEST(OptimizedPretenuringConstructorCalls) { |
return; |
} |
i::FLAG_allow_natives_syntax = true; |
- i::FLAG_max_new_space_size = 2; |
+ i::FLAG_max_semi_space_size = 1; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |