blob: 9a7583ab580ca02911fe7401e3f1953a8c500faf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- v8/src/globals.h.orig 2017-06-05 19:04:29 UTC
+++ v8/src/globals.h
@@ -184,7 +184,11 @@ const size_t kCodeRangeAreaAlignment = 256 * MB;
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
|