Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index f0b65e29a87b28b751d0d2d467928261e9e9c2d0..edaacdb55092370ab47e86accf2f1937812da077 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -6548,7 +6548,7 @@ |
} |
// We are relying on this creating a big flag array and reserving the space |
// up front. |
- v8::Handle<Value> big_array = CompileRun("new Array(5000)"); |
+ v8::Handle<Value> big_array = CompileRun("new Array(50000)"); |
if (!v8::internal::FLAG_scavenge_reclaim_unmodified_objects) |
a->Set(v8_str("y"), big_array); |
big_heap_size = CcTest::heap()->SizeOfObjects(); |
@@ -6571,7 +6571,7 @@ |
} |
// A single GC should be enough to reclaim the memory, since we are using |
// phantom handles. |
- CHECK_LT(CcTest::heap()->SizeOfObjects(), big_heap_size - 20000); |
+ CHECK_LT(CcTest::heap()->SizeOfObjects(), big_heap_size - 200000); |
CHECK(object_a.flag); |
CHECK(object_b.flag); |
} |