diff options
author | Landry Breuil <landry@rhaalovely.net> | 2014-03-07 12:30:57 +0100 |
---|---|---|
committer | Landry Breuil <landry@rhaalovely.net> | 2014-03-07 12:30:57 +0100 |
commit | 14842b32b65c6ff3f93427d5762041acf17c77f4 (patch) | |
tree | ead979553fcc09bd0c3052188fa0e0c3f313fa03 /patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator_h |
Initial import of webkit 2.2.4 port
Diffstat (limited to 'patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator_h')
-rw-r--r-- | patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator_h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator_h b/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator_h new file mode 100644 index 0000000..765bac7 --- /dev/null +++ b/patches/patch-Source_JavaScriptCore_jit_ExecutableAllocator_h @@ -0,0 +1,16 @@ +$OpenBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator_h,v 1.2 2013/10/06 14:03:42 landry Exp $ + +https://bugs.webkit.org/show_bug.cgi?id=61137 + +--- Source/JavaScriptCore/jit/ExecutableAllocator.h.orig Wed Jun 26 10:42:11 2013 ++++ Source/JavaScriptCore/jit/ExecutableAllocator.h Mon Jul 15 23:03:44 2013 +@@ -104,7 +104,8 @@ class DemandExecutableAllocator; + #if ENABLE(EXECUTABLE_ALLOCATOR_FIXED) + #if CPU(ARM) + static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024; +-#elif CPU(X86_64) ++// We don't want an initial allocation of 1GB, it's above the default ulimit ++#elif CPU(X86_64) && !defined(__OpenBSD__) + static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024; + #else + static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024; |