| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 9370)
|
| +++ src/heap.cc (working copy)
|
| @@ -81,8 +81,8 @@
|
| reserved_semispace_size_(8 * Max(LUMP_OF_MEMORY, Page::kPageSize)),
|
| max_semispace_size_(8 * Max(LUMP_OF_MEMORY, Page::kPageSize)),
|
| initial_semispace_size_(Max(LUMP_OF_MEMORY, Page::kPageSize)),
|
| - max_old_generation_size_(1400ul * LUMP_OF_MEMORY),
|
| - max_executable_size_(256l * LUMP_OF_MEMORY),
|
| + max_old_generation_size_(700ul * LUMP_OF_MEMORY),
|
| + max_executable_size_(128l * LUMP_OF_MEMORY),
|
|
|
| // Variables set based on semispace_size_ and old_generation_size_ in
|
| // ConfigureHeap (survived_since_last_expansion_, external_allocation_limit_)
|
| @@ -364,6 +364,7 @@
|
| ClearJSFunctionResultCaches();
|
| gc_count_++;
|
| unflattened_strings_length_ = 0;
|
| +
|
| #ifdef DEBUG
|
| ASSERT(allocation_allowed_ && gc_state_ == NOT_IN_GC);
|
| allow_allocation(false);
|
| @@ -5049,6 +5050,7 @@
|
| }
|
|
|
| if (max_old_gen_size > 0) max_old_generation_size_ = max_old_gen_size;
|
| +
|
| if (max_executable_size > 0) {
|
| max_executable_size_ = RoundUp(max_executable_size, Page::kPageSize);
|
| }
|
|
|