-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: 26
-
Component/s: hotspot
java -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,Test::mainTest -XX:RepeatCompilation=100 -XX:-TieredCompilation -Xcomp -XX:+StressLoopPeeling Test.java
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (workspace/open/src/hotspot/share/opto/loopnode.cpp:6851), pid=3656089, tid=3656108
# assert(false) failed: Bad graph detected in build_loop_late
#
# JRE version: Java(TM) SE Runtime Environment (26.0+23) (fastdebug build 26-ea+23-2304)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+23-2304, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x1322d28] PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0x888
Current CompileTask:
C2:185 5 !b Test::mainTest (650 bytes)
Stack: [0x0000ffff89bf4000,0x0000ffff89df2000], sp=0x0000ffff89dec4f0, free space=2017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1322d28] PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0x888 (loopnode.cpp:6851)
V [libjvm.so+0x1322f08] PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0x19c (loopnode.cpp:6718)
V [libjvm.so+0x1323770] PhaseIdealLoop::build_and_optimize()+0x610 (loopnode.cpp:5111)
V [libjvm.so+0x9c64e0] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x340 (loopnode.hpp:1233)
V [libjvm.so+0x9be9e8] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0x88 (compile.cpp:2262)
V [libjvm.so+0x9c0e78] Compile::Optimize()+0xa70 (compile.cpp:2511)
V [libjvm.so+0x9c3450] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x16a4 (compile.cpp:860)
V [libjvm.so+0x7ee880] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x2dc (c2compiler.cpp:147)
V [libjvm.so+0x9d216c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb08 (compileBroker.cpp:2345)
V [libjvm.so+0x9d3098] CompileBroker::compiler_thread_loop()+0x638 (compileBroker.cpp:1989)
V [libjvm.so+0xed4268] JavaThread::thread_main_inner()+0x108 (javaThread.cpp:771)
V [libjvm.so+0x184a73c] Thread::call_run()+0xac (thread.cpp:243)
V [libjvm.so+0x15288fc] thread_native_entry(Thread*)+0x12c (os_linux.cpp:883)
C [libc.so.6+0x80b50] start_thread+0x300
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (workspace/open/src/hotspot/share/opto/loopnode.cpp:6851), pid=3656089, tid=3656108
# assert(false) failed: Bad graph detected in build_loop_late
#
# JRE version: Java(TM) SE Runtime Environment (26.0+23) (fastdebug build 26-ea+23-2304)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+23-2304, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x1322d28] PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0x888
Current CompileTask:
C2:185 5 !b Test::mainTest (650 bytes)
Stack: [0x0000ffff89bf4000,0x0000ffff89df2000], sp=0x0000ffff89dec4f0, free space=2017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1322d28] PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0x888 (loopnode.cpp:6851)
V [libjvm.so+0x1322f08] PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0x19c (loopnode.cpp:6718)
V [libjvm.so+0x1323770] PhaseIdealLoop::build_and_optimize()+0x610 (loopnode.cpp:5111)
V [libjvm.so+0x9c64e0] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x340 (loopnode.hpp:1233)
V [libjvm.so+0x9be9e8] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0x88 (compile.cpp:2262)
V [libjvm.so+0x9c0e78] Compile::Optimize()+0xa70 (compile.cpp:2511)
V [libjvm.so+0x9c3450] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x16a4 (compile.cpp:860)
V [libjvm.so+0x7ee880] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x2dc (c2compiler.cpp:147)
V [libjvm.so+0x9d216c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb08 (compileBroker.cpp:2345)
V [libjvm.so+0x9d3098] CompileBroker::compiler_thread_loop()+0x638 (compileBroker.cpp:1989)
V [libjvm.so+0xed4268] JavaThread::thread_main_inner()+0x108 (javaThread.cpp:771)
V [libjvm.so+0x184a73c] Thread::call_run()+0xac (thread.cpp:243)
V [libjvm.so+0x15288fc] thread_native_entry(Thread*)+0x12c (os_linux.cpp:883)
C [libc.so.6+0x80b50] start_thread+0x300