summaryrefslogtreecommitdiff
path: root/lang/openjdk8/patches
diff options
context:
space:
mode:
authortnn <tnn>2015-06-13 14:55:52 +0000
committertnn <tnn>2015-06-13 14:55:52 +0000
commit65ed79f7c7a6ab0d05796148cd317371bab1f8f9 (patch)
tree6c473b4fc2b07bc4c2a0c2de3c2d2030342f557d /lang/openjdk8/patches
parent60dffa0fd5b7903ac4f0142c127d6063dfb9e838 (diff)
downloadpkgsrc-65ed79f7c7a6ab0d05796148cd317371bab1f8f9.tar.gz
Disable use of C++ precompiled headers.
My benchmark shows that they make the build at least 10% slower.
Diffstat (limited to 'lang/openjdk8/patches')
-rw-r--r--lang/openjdk8/patches/patch-hotspot_src_share_vm_ci_ciTypeFlow.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/openjdk8/patches/patch-hotspot_src_share_vm_ci_ciTypeFlow.cpp b/lang/openjdk8/patches/patch-hotspot_src_share_vm_ci_ciTypeFlow.cpp
new file mode 100644
index 00000000000..eb8fb3957a3
--- /dev/null
+++ b/lang/openjdk8/patches/patch-hotspot_src_share_vm_ci_ciTypeFlow.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-hotspot_src_share_vm_ci_ciTypeFlow.cpp,v 1.1 2015/06/13 14:55:52 tnn Exp $
+
+compile.hpp:807:22: error: inline function 'Compile::locate_node_notes' is not defined [-Werror,-Wundefined-inline]
+
+--- hotspot/src/share/vm/ci/ciTypeFlow.cpp.orig 2015-06-13 14:19:09.000000000 +0000
++++ hotspot/src/share/vm/ci/ciTypeFlow.cpp
+@@ -36,6 +36,7 @@
+ #include "interpreter/bytecodes.hpp"
+ #include "memory/allocation.inline.hpp"
+ #include "opto/compile.hpp"
++#include "opto/node.hpp"
+ #include "runtime/deoptimization.hpp"
+ #include "utilities/growableArray.hpp"
+