- Fix intermittent segfaults by enabling UseMembar by default.
This commit is contained in:
parent
6b16ee45b7
commit
45bb6f02db
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.39 2013/02/02 17:41:18 kurt Exp $
|
||||
# $OpenBSD: Makefile,v 1.40 2013/02/03 21:03:39 kurt Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
@ -10,9 +10,9 @@ UPDATE= 32
|
||||
BUILD= b27
|
||||
PKGNAME= jdk-${VERSION}
|
||||
PKGNAME-main= jdk-${VERSION}
|
||||
REVISION-main= 0
|
||||
REVISION-main= 1
|
||||
PKGNAME-jre= jre-${VERSION}
|
||||
REVISION-jre= 0
|
||||
REVISION-jre= 1
|
||||
|
||||
# see jaxp/jaxp.properties & jaxws/jaxws.properties
|
||||
# in ${WRKDIR} for names and download locations of extra distfiles
|
||||
|
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-hotspot_src_cpu_x86_vm_globals_x86_hpp,v 1.1 2013/02/03 21:03:39 kurt Exp $
|
||||
--- hotspot/src/cpu/x86/vm/globals_x86.hpp.orig Sun Feb 3 10:36:52 2013
|
||||
+++ hotspot/src/cpu/x86/vm/globals_x86.hpp Sun Feb 3 10:37:13 2013
|
||||
@@ -70,6 +70,10 @@ define_pd_global(intx, PreInflateSpin, 10);
|
||||
define_pd_global(bool, RewriteBytecodes, true);
|
||||
define_pd_global(bool, RewriteFrequentPairs, true);
|
||||
|
||||
+#ifdef _ALLBSD_SOURCE
|
||||
+define_pd_global(bool, UseMembar, true);
|
||||
+#else
|
||||
define_pd_global(bool, UseMembar, false);
|
||||
+#endif
|
||||
|
||||
#endif // CPU_X86_VM_GLOBALS_X86_HPP
|
Loading…
Reference in New Issue
Block a user