Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index dc7568f3bc4249e57e9b1e8dc445a07e7f0be5b0..12f8708dfa0f7245561d17ebeab90aea167fab78 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -148,10 +148,10 @@ const uintptr_t kUintptrAllBitsSet = V8_UINT64_C(0xFFFFFFFFFFFFFFFF); |
const bool kRequiresCodeRange = true; |
const size_t kMaximalCodeRangeSize = 512 * MB; |
#if V8_OS_WIN |
-const size_t kMinimumCodeRangeSize = 2 * MB; |
+const size_t kMinimumCodeRangeSize = 4 * MB; |
const size_t kReservedCodeRangePages = 1; |
#else |
-const size_t kMinimumCodeRangeSize = 1 * MB; |
+const size_t kMinimumCodeRangeSize = 3 * MB; |
const size_t kReservedCodeRangePages = 0; |
#endif |
#else |
@@ -162,7 +162,7 @@ const uintptr_t kUintptrAllBitsSet = 0xFFFFFFFFu; |
// x32 port also requires code range. |
const bool kRequiresCodeRange = true; |
const size_t kMaximalCodeRangeSize = 256 * MB; |
-const size_t kMinimumCodeRangeSize = 1 * MB; |
+const size_t kMinimumCodeRangeSize = 3 * MB; |
const size_t kReservedCodeRangePages = 0; |
#else |
const bool kRequiresCodeRange = false; |