-
Bug
-
Resolution: Fixed
-
P3
-
repo-valhalla
Originally happened with serviceability/jvmti/Valhalla/HeapDump/HeapDump.java.
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/oracle/valhalla2/open/src/hotspot/share/opto/parse1.cpp:196), pid=997039, tid=997053
# assert(_gvn.type(l)->higher_equal(type)) failed: must constrain OSR typestate
#
# JRE version: Java(TM) SE Runtime Environment (20.0) (fastdebug build 20-lworld4ea-2022-09-01-0715344.tobias...)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-lworld4ea-2022-09-01-0715344.tobias..., mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x184b1ec] Parse::check_interpreter_type(Node*, Type const*, SafePointNode*&)+0x64c
Current CompileTask:
C2: 2561 1201 % b 4 compiler.valhalla.inlinetypes.TestArrays::test149 @ 4 (31 bytes)
Stack: [0x00007fd37c8d8000,0x00007fd37c9d9000], sp=0x00007fd37c9d5750, free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x184b1ec] Parse::check_interpreter_type(Node*, Type const*, SafePointNode*&)+0x64c
V [libjvm.so+0x18518db] Parse::load_interpreter_state(Node*)+0xdbb
V [libjvm.so+0x185daa8] Parse::Parse(JVMState*, ciMethod*, float)+0x5e8
V [libjvm.so+0x954c25] ParseGenerator::generate(JVMState*)+0x115
V [libjvm.so+0xb6a87a] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x143a
V [libjvm.so+0x95041d] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x6dd
V [libjvm.so+0xb79bd8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xbb8
V [libjvm.so+0xb7abc8] CompileBroker::compiler_thread_loop()+0x6f8
V [libjvm.so+0x10f9b08] JavaThread::thread_main_inner()+0x238
V [libjvm.so+0x1b7c9c0] Thread::call_run()+0x100
V [libjvm.so+0x180d254] thread_native_entry(Thread*)+0x104
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/oracle/valhalla2/open/src/hotspot/share/opto/parse1.cpp:196), pid=997039, tid=997053
# assert(_gvn.type(l)->higher_equal(type)) failed: must constrain OSR typestate
#
# JRE version: Java(TM) SE Runtime Environment (20.0) (fastdebug build 20-lworld4ea-2022-09-01-0715344.tobias...)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-lworld4ea-2022-09-01-0715344.tobias..., mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x184b1ec] Parse::check_interpreter_type(Node*, Type const*, SafePointNode*&)+0x64c
Current CompileTask:
C2: 2561 1201 % b 4 compiler.valhalla.inlinetypes.TestArrays::test149 @ 4 (31 bytes)
Stack: [0x00007fd37c8d8000,0x00007fd37c9d9000], sp=0x00007fd37c9d5750, free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x184b1ec] Parse::check_interpreter_type(Node*, Type const*, SafePointNode*&)+0x64c
V [libjvm.so+0x18518db] Parse::load_interpreter_state(Node*)+0xdbb
V [libjvm.so+0x185daa8] Parse::Parse(JVMState*, ciMethod*, float)+0x5e8
V [libjvm.so+0x954c25] ParseGenerator::generate(JVMState*)+0x115
V [libjvm.so+0xb6a87a] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x143a
V [libjvm.so+0x95041d] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x6dd
V [libjvm.so+0xb79bd8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xbb8
V [libjvm.so+0xb7abc8] CompileBroker::compiler_thread_loop()+0x6f8
V [libjvm.so+0x10f9b08] JavaThread::thread_main_inner()+0x238
V [libjvm.so+0x1b7c9c0] Thread::call_run()+0x100
V [libjvm.so+0x180d254] thread_native_entry(Thread*)+0x104