Reviewers: danno, Paul Lind, kisg,
Description:
MIPS: Fix failing 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.
This commit increases the old space size on MIPS arch.
TEST=cctest/test-api/HugeConsStringOutOfMemory
BUG=
Please review this at https://chromiumcodereview.appspot.com/10546146/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M test/cctest/test-api.cc
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index
ed31f6ffaea53d89ec428d82373bdab258b6b75d..2b53ae5037de8d5ce81de9e55f293f7c0d3c2b09
100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -2697,7 +2697,11 @@ TEST(HugeConsStringOutOfMemory) {
static const int K = 1024;
v8::ResourceConstraints constraints;
constraints.set_max_young_space_size(256 * K);
+#if defined(V8_TARGET_ARCH_MIPS)
+ constraints.set_max_old_space_size(3 * K * K);
+#else
constraints.set_max_old_space_size(2 * K * K);
+#endif
v8::SetResourceConstraints(&constraints);
// Execute a script that causes out of memory.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev