-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: 26
-
Component/s: hotspot
'jtreg' '-va' '-s' '-jdk:.../jdk/build/linux-x64-debug/jdk' '-vmoptions:-XX:StressLongCountedLoop=2000000 -XX:+UnlockDiagnosticVMOptions -XX:+StressIncrementalInlining' 'test/hotspot/jtreg/compiler/c2/stemmer/Stemmer.java'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (.../src/hotspot/share/opto/loopnode.cpp:4562), pid=2377232, tid=2377250
# assert(!_head->is_Loop() || !_head->as_Loop()->is_loop_nest_inner_loop()) failed: transformation to counted loop should not fail
#
# JRE version: Java(TM) SE Runtime Environment (27.0) (fastdebug build 27-internal-mchevali.open)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-internal-mchevali.open, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x15b846a] IdealLoopTree::counted_loop(PhaseIdealLoop*)+0x2aa
Current CompileTask:
C2:1160 682 b 4 compiler.c2.stemmer.Stemmer::stem (58 bytes)
Stack: [0x00007fefb1f00000,0x00007fefb2000000], sp=0x00007fefb1ffab40, free space=1002k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x15b846a] IdealLoopTree::counted_loop(PhaseIdealLoop*)+0x2aa (loopnode.cpp:4562)
V [libjvm.so+0x15b827a] IdealLoopTree::counted_loop(PhaseIdealLoop*)+0xba (loopnode.cpp:4573)
V [libjvm.so+0x15bd047] PhaseIdealLoop::build_and_optimize()+0xaf7 (loopnode.cpp:5139)
V [libjvm.so+0xbb8db0] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x4c0 (loopnode.hpp:1233)
V [libjvm.so+0xbafd21] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0xb1 (compile.cpp:2268)
V [libjvm.so+0xbb2c4f] Compile::Optimize()+0xcbf (compile.cpp:2517)
V [libjvm.so+0xbb5df3] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x2023 (compile.cpp:862)
V [libjvm.so+0x9ccc68] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x498 (c2compiler.cpp:147)
V [libjvm.so+0xbc52e0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x780 (compileBroker.cpp:2345)
V [libjvm.so+0xbc6b40] CompileBroker::compiler_thread_loop()+0x530 (compileBroker.cpp:1989)
V [libjvm.so+0x1125d9b] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:776)
V [libjvm.so+0x1bb42b6] Thread::call_run()+0xb6 (thread.cpp:242)
V [libjvm.so+0x1808f38] thread_native_entry(Thread*)+0x118 (os_linux.cpp:860)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (.../src/hotspot/share/opto/loopnode.cpp:4562), pid=2377232, tid=2377250
# assert(!_head->is_Loop() || !_head->as_Loop()->is_loop_nest_inner_loop()) failed: transformation to counted loop should not fail
#
# JRE version: Java(TM) SE Runtime Environment (27.0) (fastdebug build 27-internal-mchevali.open)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-internal-mchevali.open, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x15b846a] IdealLoopTree::counted_loop(PhaseIdealLoop*)+0x2aa
Current CompileTask:
C2:1160 682 b 4 compiler.c2.stemmer.Stemmer::stem (58 bytes)
Stack: [0x00007fefb1f00000,0x00007fefb2000000], sp=0x00007fefb1ffab40, free space=1002k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x15b846a] IdealLoopTree::counted_loop(PhaseIdealLoop*)+0x2aa (loopnode.cpp:4562)
V [libjvm.so+0x15b827a] IdealLoopTree::counted_loop(PhaseIdealLoop*)+0xba (loopnode.cpp:4573)
V [libjvm.so+0x15bd047] PhaseIdealLoop::build_and_optimize()+0xaf7 (loopnode.cpp:5139)
V [libjvm.so+0xbb8db0] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x4c0 (loopnode.hpp:1233)
V [libjvm.so+0xbafd21] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0xb1 (compile.cpp:2268)
V [libjvm.so+0xbb2c4f] Compile::Optimize()+0xcbf (compile.cpp:2517)
V [libjvm.so+0xbb5df3] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x2023 (compile.cpp:862)
V [libjvm.so+0x9ccc68] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x498 (c2compiler.cpp:147)
V [libjvm.so+0xbc52e0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x780 (compileBroker.cpp:2345)
V [libjvm.so+0xbc6b40] CompileBroker::compiler_thread_loop()+0x530 (compileBroker.cpp:1989)
V [libjvm.so+0x1125d9b] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:776)
V [libjvm.so+0x1bb42b6] Thread::call_run()+0xb6 (thread.cpp:242)
V [libjvm.so+0x1808f38] thread_native_entry(Thread*)+0x118 (os_linux.cpp:860)
- relates to
-
JDK-8356176 C2 MemorySegment: missing RCE with byteSize() in Loop Exit Check inside the for Expression
-
- Resolved
-
-
JDK-8319879 Stress mode to randomize incremental inlining decision
-
- Resolved
-