blob: 407f2dc7c98a1b8295e66262e751a37083ce365a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- v8/src/globals.h.orig 2017-03-09 20:05:30 UTC
+++ v8/src/globals.h
@@ -183,7 +183,11 @@ const size_t kCodeRangeAreaAlignment = 2
const size_t kMaximalCodeRangeSize = 512 * MB;
const size_t kCodeRangeAreaAlignment = 64 * KB; // OS page on PPC Linux
#else
+#if defined(__FreeBSD__)
+const size_t kMaximalCodeRangeSize = 256 * MB;
+#else
const size_t kMaximalCodeRangeSize = 512 * MB;
+#endif
const size_t kCodeRangeAreaAlignment = 4 * KB; // OS page.
#endif
#if V8_OS_WIN
|