Reviewers: Jakob, Yang, danno, Paul Lind, kisg, kilvadyb,
Message:
PTAL.
Description:
MIPS: Adjust default Heap sizes.
This change decreases the default Heap sizes on MIPS (sets the
same sizes as on Android).
Most MIPS hw has smaller RAM size than 700MB, which can lead
to test failures, if a test does not set the Heap sizes explicitly
(like cctest/test-mark-compact/MarkCompactCollector).
BUG=
Please review this at https://codereview.chromium.org/18447003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/heap.cc
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index
53207b76d0e9ebf316a4cd3e28c1243eff364ffd..41b1e97dba4372134fabaea07b9768b6800c1d2f
100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -74,7 +74,7 @@ Heap::Heap()
#define LUMP_OF_MEMORY MB
code_range_size_(0),
#endif
-#if defined(ANDROID)
+#if defined(ANDROID) || defined(V8_TARGET_ARCH_MIPS)
reserved_semispace_size_(4 * Max(LUMP_OF_MEMORY, Page::kPageSize)),
max_semispace_size_(4 * Max(LUMP_OF_MEMORY, Page::kPageSize)),
initial_semispace_size_(Page::kPageSize),
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.