Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: test/cctest/test-mark-compact.cc

Issue 234153002: Adjust memory limits. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/spaces.cc ('K') | « src/spaces.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-mark-compact.cc
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc
index 25b30ef4e4840b7b1e442a50536a41f245f265ab..aa617c6016aebb7860f50c85a6052cd9608126d3 100644
--- a/test/cctest/test-mark-compact.cc
+++ b/test/cctest/test-mark-compact.cc
@@ -500,11 +500,20 @@ TEST(BootUpMemoryUse) {
CHECK_LE(delta, 4600 * 1024);
}
} else { // 32-bit.
+#if V8_TARGET_ARCH_MIPS
+ // Increase limits due to larger code size on MIPS.
+ if (v8::internal::Snapshot::IsEnabled()) {
+ CHECK_LE(delta, 3500 * 1024);
+ } else {
+ CHECK_LE(delta, 3800 * 1024);
+ }
+#else
if (v8::internal::Snapshot::IsEnabled()) {
CHECK_LE(delta, 3100 * 1024);
} else {
CHECK_LE(delta, 3450 * 1024);
}
+#endif
}
}
}
« src/spaces.cc ('K') | « src/spaces.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698