-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 27
-
Component/s: hotspot
-
master
Just run any program to replicate the following crash.
====
# Internal Error (src/hotspot/share/runtime/mutex.cpp:460)
# assert(false) failed: Attempting to acquire lock MDOExtraData_lock/nosafepoint-1 out of order with lock tty_lock/tty -- possible deadlock
#
# JRE version: Java(TM) SE Runtime Environment (27.0) (fastdebug build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug , mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x174dba0] Mutex::check_rank(Thread*)+0x5a0
--------------- S U M M A R Y ------------
Command Line: -XX:+Verbose -XX:+WizardMode -XX:+PrintDeoptimizationDetails
--------------- T H R E A D ---------------
Current thread (0x00007f0efc02c170): JavaThread "main" [_thread_in_Java, id=1300019, stack(0x00007f0f00d00000,0x00007f0f00e00000) (1024K)]
Stack: [0x00007f0f00d00000,0x00007f0f00e00000], sp=0x00007f0f00df66e0, free space=985k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x174dba0] Mutex::check_rank(Thread*)+0x5a0 (mutex.cpp:460)
V [libjvm.so+0x174de3c] Mutex::lock_without_safepoint_check(Thread*)+0x4c (mutex.cpp:146)
V [libjvm.so+0x87a0e9] BytecodePrinter::bytecode_epilog(int, outputStream*)+0x39 (mutexLocker.hpp:202)
V [libjvm.so+0x87a614] BytecodeTracer::print_method_codes(methodHandle const&, int, int, outputStream*, int)+0x424 (bytecodeTracer.cpp:174)
V [libjvm.so+0x16eed47] Method::print_codes_on(outputStream*, int) const+0xc7 (method.cpp:1909)
V [libjvm.so+0x1c90c05] vframeArrayElement::unpack_on_stack(int, int, int, frame*, bool, bool, int)+0x1d25 (method.hpp:468)
V [libjvm.so+0x1c93f93] vframeArray::unpack_to_stack(frame&, int, int)+0x4d3 (vframeArray.cpp:671)
V [libjvm.so+0xcbe063] Deoptimization::unpack_frames(JavaThread*, int)+0x1b3 (deoptimization.cpp:903)
v ~UncommonTrapBlob 0x00007f0ef4557087
====
# Internal Error (src/hotspot/share/runtime/mutex.cpp:460)
# assert(false) failed: Attempting to acquire lock MDOExtraData_lock/nosafepoint-1 out of order with lock tty_lock/tty -- possible deadlock
#
# JRE version: Java(TM) SE Runtime Environment (27.0) (fastdebug build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug , mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x174dba0] Mutex::check_rank(Thread*)+0x5a0
--------------- S U M M A R Y ------------
Command Line: -XX:+Verbose -XX:+WizardMode -XX:+PrintDeoptimizationDetails
--------------- T H R E A D ---------------
Current thread (0x00007f0efc02c170): JavaThread "main" [_thread_in_Java, id=1300019, stack(0x00007f0f00d00000,0x00007f0f00e00000) (1024K)]
Stack: [0x00007f0f00d00000,0x00007f0f00e00000], sp=0x00007f0f00df66e0, free space=985k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x174dba0] Mutex::check_rank(Thread*)+0x5a0 (mutex.cpp:460)
V [libjvm.so+0x174de3c] Mutex::lock_without_safepoint_check(Thread*)+0x4c (mutex.cpp:146)
V [libjvm.so+0x87a0e9] BytecodePrinter::bytecode_epilog(int, outputStream*)+0x39 (mutexLocker.hpp:202)
V [libjvm.so+0x87a614] BytecodeTracer::print_method_codes(methodHandle const&, int, int, outputStream*, int)+0x424 (bytecodeTracer.cpp:174)
V [libjvm.so+0x16eed47] Method::print_codes_on(outputStream*, int) const+0xc7 (method.cpp:1909)
V [libjvm.so+0x1c90c05] vframeArrayElement::unpack_on_stack(int, int, int, frame*, bool, bool, int)+0x1d25 (method.hpp:468)
V [libjvm.so+0x1c93f93] vframeArray::unpack_to_stack(frame&, int, int)+0x4d3 (vframeArray.cpp:671)
V [libjvm.so+0xcbe063] Deoptimization::unpack_frames(JavaThread*, int)+0x1b3 (deoptimization.cpp:903)
v ~UncommonTrapBlob 0x00007f0ef4557087
- links to
-
Commit(master)
openjdk/jdk/6f6966b2
-
Review(master)
openjdk/jdk/29186