Revision: 24384
Author:   joc...@chromium.org
Date:     Thu Oct  2 08:28:29 2014 UTC
Log:      Change minimum code range size to 3MB

There will be at least 2MB of guard pages around allocatable code memory

BUG=none
R=svenpa...@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/617103006
https://code.google.com/p/v8/source/detail?r=24384

Modified:
 /branches/bleeding_edge/src/globals.h

=======================================
--- /branches/bleeding_edge/src/globals.h       Wed Oct  1 09:16:57 2014 UTC
+++ /branches/bleeding_edge/src/globals.h       Thu Oct  2 08:28:29 2014 UTC
@@ -148,10 +148,10 @@
 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 @@
 // 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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to