Reviewers: Sven Panne,
Description:
Change minimum code range size to 3MB
There will be at least 2MB of guard pages around allocatable code memory
BUG=none
[email protected]
LOG=n
Please review this at https://codereview.chromium.org/617103006/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+3, -3 lines):
M src/globals.h
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;
--
--
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/d/optout.