-
Bug
-
Resolution: Fixed
-
P4
-
17, 18, 19
-
b10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8283884 | 18.0.2 | Harold Seigel | P4 | Resolved | Fixed | b02 |
JDK-8283647 | 17.0.4-oracle | Harold Seigel | P4 | Resolved | Fixed | b01 |
JDK-8283847 | 17.0.4 | Martin Doerr | P4 | Resolved | Fixed | b01 |
could crash when executed with
-XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:+PrintDeoptimizationDetails -XX:+TraceDeoptimization -XX:+Verbose -Xcomp
Tail of log:
[15505. Interpreted Frame]
Interpreted frame (sp=0x0000fffca435de50 unextended sp=0x0000fffca435de50, fp=0x0000fffca435dec0, real_fp=0x0000fffca435dec0, pc=0x0000fffcc824bc00)
~deoptimization entry points [0x0000fffcc824bc00, 0x0000fffcc824d9c0] 7616 bytes
BufferBlob (0x0000fffcc8235610) used for Interpreter
- local [0x0000000773c03078]; #0
- local [0x0000000000000000]; #1
- local [0x0000000773c02f30]; #2
- stack [0x00000007ffd00380]; #1
- stack [0x0000000773c03078]; #0
- monitor[0x0000fffca435de70]
- bcp [0x0000000800b35bde]; @6
- locals [0x0000fffca435df00]
- method [0x00000008004370e0]; virtual void java.lang.invoke.MethodType.<init>(jobject, jobject)
{method} {0x00000008004370e0} '<init>' '(Ljava/lang/Class;[Ljava/lang/Class;)V' in public final synchronized 'java/lang/invoke/MethodType'
bci: 6
locals:
0 a 'java/lang/invoke/MethodType'{0x0000000773c03078} = (#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000fffcccdf67b0, pid=1432766, tid=1432889
#
# JRE version: Java(TM) SE Runtime Environment (19.0) (fastdebug build 19-internal-2022-02-15-0018441.leonid.mesnik.jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-internal-2022-02-15-0018441.leonid.mesnik.jdk, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0xef67b0] java_lang_invoke_MethodType::print_signature(oop, outputStream*)+0x80
#
The problem is that deoptimization happens right in java.lang.invoke.MethodType.<init>
while ptype and rtype are not initialized yet.
- backported by
-
JDK-8283647 Crash in java_lang_invoke_MethodType::print_signature
- Resolved
-
JDK-8283847 Crash in java_lang_invoke_MethodType::print_signature
- Resolved
-
JDK-8283884 Crash in java_lang_invoke_MethodType::print_signature
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/92bbddeb
-
Commit openjdk/jdk18u/3d289c14
-
Commit openjdk/jdk/a24498b7
-
Review openjdk/jdk17u-dev/284
-
Review openjdk/jdk18u/76
-
Review openjdk/jdk/7470