From: danno@chromium.org Date: Thu, 14 Jun 2012 13:52:58 +0000 (+0000) Subject: Increase old space in cctest/test-api/HugeConsStringOutOfMemory test. X-Git-Tag: upstream/4.7.83~16535 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3515559a3899ef02fc71edae15bb816063605c09;p=platform%2Fupstream%2Fv8.git Increase old space in cctest/test-api/HugeConsStringOutOfMemory test. This test is failing on MIPS since r11715 (a7d6f92c), it seems that after the modifications in bootstrapper.cc, this test runs out of old generation space on MIPS. TEST=cctest/test-api/HugeConsStringOutOfMemory BUG= Review URL: https://chromiumcodereview.appspot.com/10533148 Patch from Akos Palfi . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11814 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc index ed31f6f..65d56d1 100644 --- a/test/cctest/test-api.cc +++ b/test/cctest/test-api.cc @@ -2697,7 +2697,7 @@ TEST(HugeConsStringOutOfMemory) { static const int K = 1024; v8::ResourceConstraints constraints; constraints.set_max_young_space_size(256 * K); - constraints.set_max_old_space_size(2 * K * K); + constraints.set_max_old_space_size(3 * K * K); v8::SetResourceConstraints(&constraints); // Execute a script that causes out of memory.