java -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::* -XX:-TieredCompilation -Xcomp -XX:+VerifyLoopOptimizations Test.java
Was reachable in only one. this 0, verify 1.
44 ConI === 0 [[ 499 488 ]] #int:1
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/share/opto/loopnode.cpp:5034), pid=1837392, tid=1837406
# assert(success) failed: VerifyLoopOptimizations failed
#
# JRE version: Java(TM) SE Runtime Environment (24.0+22) (fastdebug build 24-ea+22-2571)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+22-2571, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x12f1932] PhaseIdealLoop::verify() const+0x4c2
Current CompileTask:
C2:2652 89 b Test::iMeth (231 bytes)
Stack: [0x00007d300a300000,0x00007d300a400000], sp=0x00007d300a3fac50, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x12f1932] PhaseIdealLoop::verify() const+0x4c2 (loopnode.cpp:5034)
V [libjvm.so+0x12f28fd] PhaseIdealLoop::build_and_optimize()+0xf5d
V [libjvm.so+0xa37e58] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x3a8
V [libjvm.so+0xa30ea4] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0x74
V [libjvm.so+0xa31c2c] Compile::Optimize()+0xabc
V [libjvm.so+0xa35b83] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b23
V [libjvm.so+0x880435] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d5
V [libjvm.so+0xa41a18] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x928
V [libjvm.so+0xa426a8] CompileBroker::compiler_thread_loop()+0x478
V [libjvm.so+0xef257c] JavaThread::thread_main_inner()+0xcc
V [libjvm.so+0x181d0e6] Thread::call_run()+0xb6
V [libjvm.so+0x14feba8] thread_native_entry(Thread*)+0x128