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

Unified Diff: src/spaces.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
« no previous file with comments | « no previous file | test/cctest/test-mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index dfa9cea71a73a1f895da56237c1107c0e819c08b..75debc15ce668daedb6741e82347d9d637f6be9c 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -1084,6 +1084,9 @@ intptr_t PagedSpace::SizeOfFirstPage() {
size = AreaSize();
} else {
size = 480 * KB;
+#if V8_TARGET_ARCH_MIPS
+ size = size * 15 / 10; // Increase by 15% due to larger code size.
danno 2014/04/11 09:32:15 I think this should be based in kCodeSizeMultiplie
+#endif
}
break;
default:
« no previous file with comments | « no previous file | test/cctest/test-mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698