$OpenBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator_h,v 1.4 2016/04/19 06:05:36 ajacoutot Exp $

https://bugs.webkit.org/show_bug.cgi?id=61137

--- Source/JavaScriptCore/jit/ExecutableAllocator.h.orig	Thu Apr 14 10:45:23 2016
+++ Source/JavaScriptCore/jit/ExecutableAllocator.h	Sat Apr 16 13:02:54 2016
@@ -78,7 +78,8 @@ class DemandExecutableAllocator;
 static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
 #elif CPU(ARM64)
 static const size_t fixedExecutableMemoryPoolSize = 32 * 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;
