Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 14b395f9345008e5f37ffd3345b59fb73f23ee51..8bacefc2fc34ed7483b63abfd2cde60e74687281 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -524,7 +524,7 @@ class Heap { |
int InitialSemiSpaceSize() { return initial_semispace_size_; } |
intptr_t MaxOldGenerationSize() { return max_old_generation_size_; } |
intptr_t MaxExecutableSize() { return max_executable_size_; } |
- int MaxRegularSpaceAllocationSize() { return InitialSemiSpaceSize() * 3/4; } |
+ int MaxRegularSpaceAllocationSize() { return InitialSemiSpaceSize() * 4/5; } |
// Returns the capacity of the heap in bytes w/o growing. Heap grows when |
// more spaces are needed until it reaches the limit. |