Upstream version 10.39.233.0
[platform/framework/web/crosswalk.git] / src / v8 / test / cctest / test-mark-compact.cc
index c7d6531..053bce5 100644 (file)
@@ -107,6 +107,8 @@ TEST(NoPromotion) {
 
   v8::HandleScope sc(CcTest::isolate());
 
+  heap->new_space()->Grow();
+
   // Allocate a big fixed array in the new space.
   int array_length =
       (Page::kMaxRegularHeapObjectSize - FixedArray::kHeaderSize) /