$OpenBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator_h,v 1.6 2017/03/29 13:25:52 ajacoutot Exp $

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

--- Source/JavaScriptCore/jit/ExecutableAllocator.h.orig	Tue Feb 28 09:34:11 2017
+++ Source/JavaScriptCore/jit/ExecutableAllocator.h	Sun Mar 26 13:55:13 2017
@@ -66,7 +66,8 @@ static const size_t fixedExecutableMemoryPoolSize = FI
 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;
