summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortnn <tnn>2015-06-13 23:57:25 +0000
committertnn <tnn>2015-06-13 23:57:25 +0000
commitfa33717f90a29729dbec8cbf4b4f443d06ae6ff9 (patch)
tree214dcdd050b10f606d31caf098dd626c020023a0 /lang
parent7da329038c575b7ebc7b0ee36f700183daf8fbde (diff)
downloadpkgsrc-fa33717f90a29729dbec8cbf4b4f443d06ae6ff9.tar.gz
build fix for jdk-zero-vm option
Diffstat (limited to 'lang')
-rw-r--r--lang/openjdk8/distinfo3
-rw-r--r--lang/openjdk8/patches/patch-hotspot_src_share_vm_interpreter_interpreterRuntime.cpp21
2 files changed, 23 insertions, 1 deletions
diff --git a/lang/openjdk8/distinfo b/lang/openjdk8/distinfo
index fcb8427fc97..040dc83c81b 100644
--- a/lang/openjdk8/distinfo
+++ b/lang/openjdk8/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2015/06/13 14:55:52 tnn Exp $
+$NetBSD: distinfo,v 1.20 2015/06/13 23:57:25 tnn Exp $
SHA1 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 7408f52d3bbe35c2b14bbd3215cbf60f1335d334
RMD160 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 24f1577b5fc86d137f070aedb4610c8c89e45815
@@ -57,6 +57,7 @@ SHA1 (patch-hotspot_src_os__cpu_bsd__zero_vm_orderAccess__bsd__zero.inline.hpp)
SHA1 (patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp) = 4fa018be66fad39aa0a922dfb86c79661a7379f2
SHA1 (patch-hotspot_src_os_posix_vm_os__posix.cpp) = 69a4ff639488bec525cb5bbccaca10dae0d7dc4d
SHA1 (patch-hotspot_src_share_vm_ci_ciTypeFlow.cpp) = 2d827ade6fcf0ba08fcd0390472cda17772bc0c5
+SHA1 (patch-hotspot_src_share_vm_interpreter_interpreterRuntime.cpp) = d2eaaae414810ab460ced512fdfc07385d60f4b8
SHA1 (patch-hotspot_src_share_vm_opto_node.cpp) = aacb4e03f62f1a6f9b38de39a966c318b70b1293
SHA1 (patch-hotspot_src_share_vm_utilities_globalDefinitions__gcc.hpp) = cab48bc272fc67f3326e663dc6feb94fe56ec79f
SHA1 (patch-jdk_make_CompileLaunchers.gmk) = 76bae0aab5528a6c020d2fdd5ba7c1ffa132aca2
diff --git a/lang/openjdk8/patches/patch-hotspot_src_share_vm_interpreter_interpreterRuntime.cpp b/lang/openjdk8/patches/patch-hotspot_src_share_vm_interpreter_interpreterRuntime.cpp
new file mode 100644
index 00000000000..808096515e5
--- /dev/null
+++ b/lang/openjdk8/patches/patch-hotspot_src_share_vm_interpreter_interpreterRuntime.cpp
@@ -0,0 +1,21 @@
+$NetBSD: patch-hotspot_src_share_vm_interpreter_interpreterRuntime.cpp,v 1.1 2015/06/13 23:57:25 tnn Exp $
+
+Fix build with jdk-zero-vm option:
+
+interpreterRuntime.cpp:412:25: error: no member named 'remove_activation_entry' in 'Interpreter'
+ return Interpreter::remove_activation_entry();
+
+--- hotspot/src/share/vm/interpreter/interpreterRuntime.cpp.orig 2015-06-10 10:31:51.000000000 +0000
++++ hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
+@@ -407,7 +407,11 @@ IRT_ENTRY(address, InterpreterRuntime::e
+ // during deoptimization so the interpreter needs to skip it when
+ // the frame is popped.
+ thread->set_do_not_unlock_if_synchronized(true);
++#ifdef CC_INTERP
++ return (address) -1;
++#else
+ return Interpreter::remove_activation_entry();
++#endif
+ }
+
+ // Need to do this check first since when _do_not_unlock_if_synchronized