Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index 30f64d6bdf8ea91d72c9adffa46773c158ca0533..4050e3475933bdb1542c8872fece0e1d5d0e9938 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -99,7 +99,7 @@ void V8::InitializeOncePerProcessImpl() { |
if (FLAG_stress_compaction) { |
FLAG_force_marking_deque_overflows = true; |
FLAG_gc_global = true; |
- FLAG_max_new_space_size = (1 << (kPageSizeBits - 10)) * 2; |
+ FLAG_max_new_space_size = 2 * Page::kPageSize; |
} |
#ifdef V8_USE_DEFAULT_PLATFORM |