RFR: 8256036: Shenandoah: MethodHandles adapters section overflows after JDK-8255762
Aleksey Shipilev
shade at openjdk.java.net
Mon Nov 9 12:04:09 UTC 2020
This seems to happen only under release bits, and only with Shenandoah. This shows up in tier1 after JDK-8255762, but only in release builds. The section in question is "MethodHandles adapters".
$ CONF=linux-x86_64-server-release make run-test TEST=java/lang/invoke/6987555/Test6987555.java TEST_VM_OPTS="-XX:+UseShenandoahGC"
STDOUT:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (codeBuffer.cpp:971), pid=907468, tid=907470
# guarantee(sect->end() <= tend) failed: sanity: MethodHandles adapters, 0x00007f76902a9da9, 0x00007f76902a9d38
#
# JRE version: (16.0) (build )
# Java VM: OpenJDK 64-Bit Server VM (16-internal+0-adhoc.shade.jdk, interpreted mode, sharing, compressed oops, shenandoah gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x58f47f] CodeBuffer::verify_section_allocation()+0x1ff
Additional testing:
- [x] `java/lang/invoke` tests on Linux x86_64 {fastdebug,release} with Shenandoah
- [x] `java/lang/invoke` tests on Linux x86_32 {fastdebug,release} with Shenandoah
- [x] `java/lang/invoke` tests on Linux AArch64 {fastdebug,release} with Shenandoah
-------------
Commit messages:
- 8256036: Shenandoah: MethodHandles adapters section overflows after JDK-8255762
Changes: https://git.openjdk.java.net/jdk/pull/1121/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1121&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8256036
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/1121.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1121/head:pull/1121
PR: https://git.openjdk.java.net/jdk/pull/1121
More information about the hotspot-compiler-dev
mailing list