openjdk-8-16xbyy: port better interface invocation from aarch32
PATCH 1/1 openjdk-8-16xbyy: port better interface invocation from aarch32
Fixes regression from new interface invocation implementation. In one crash, cache->f2_as_index() returns a Method* instead of an index into the itable during static initialization of sun.reflect.Reflection when attempting an invokeinterface on Map.put().
Upstream-Status: Backport
[OpenJDK: https://bugs.openjdk.java.net/browse/JDK-8194739]
Signed-off-by Kyle Russell <[email protected]>
--- .../openjdk/openjdk-8-release-16xbyy.inc | 3 + ...arch32-interface-invocation-segv-fix.patch | 74 +++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-8/openjdk8-aarch32-interface-invocation-segv-fix.patch
recipes-core/openjdk/openjdk-8-release-16xbyy.inc +3 -0
@@ -17,6 +17,9 @@ PATCHES_URI = "\ file://0009-jdk-disable-backtrace-musl-build-fix.patch \ file://0010-build-fix-build-on-as-needed-toolchains-generic.patch \ " +PATCHES_URI_append_class-target_arm = "\ + file://openjdk8-aarch32-interface-invocation-segv-fix.patch;patchdir=${S}/hotspot \ +" # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch # reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html # by Roman Kennke (rkennke at redhat.com)
recipes-core/openjdk/patches-openjdk-8/openjdk8-aarch32-interface-invocation-segv-fix.patch new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
2.20.1