Commit 7c8883f3 authored by palfia@homejinni.com's avatar palfia@homejinni.com

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=

Review URL: https://codereview.chromium.org/18447003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15583 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 857178ad
...@@ -74,7 +74,7 @@ Heap::Heap() ...@@ -74,7 +74,7 @@ Heap::Heap()
#define LUMP_OF_MEMORY MB #define LUMP_OF_MEMORY MB
code_range_size_(0), code_range_size_(0),
#endif #endif
#if defined(ANDROID) #if defined(ANDROID) || V8_TARGET_ARCH_MIPS
reserved_semispace_size_(4 * Max(LUMP_OF_MEMORY, Page::kPageSize)), reserved_semispace_size_(4 * Max(LUMP_OF_MEMORY, Page::kPageSize)),
max_semispace_size_(4 * Max(LUMP_OF_MEMORY, Page::kPageSize)), max_semispace_size_(4 * Max(LUMP_OF_MEMORY, Page::kPageSize)),
initial_semispace_size_(Page::kPageSize), initial_semispace_size_(Page::kPageSize),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment