-
Bug
-
Resolution: Unresolved
-
P4
-
repo-valhalla
Various tests fail intermittently with below assert.
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/share/opto/phaseX.cpp:784), pid=1046197, tid=1048842
# assert(no_dead_loop) failed: dead loop detected
#
# JRE version: Java(TM) SE Runtime Environment (25.0+1) (fastdebug build 25-valhalla+1-LTS-169)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-valhalla+1-LTS-169, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1887e45] PhaseGVN::dead_loop_check(Node*) [clone .part.0]+0x1d5
Current CompileTask:
C2:317228 133954 b 4 java.util.regex.Pattern::producePermutations (406 bytes)
Stack: [0x00007fc16ecee000,0x00007fc16edee000], sp=0x00007fc16ede90f0, free space=1004k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1887e45] PhaseGVN::dead_loop_check(Node*) [clone .part.0]+0x1d5 (phaseX.cpp:784)
V [libjvm.so+0x1899679] PhaseIterGVN::transform_old(Node*)+0x529 (phaseX.cpp:767)
V [libjvm.so+0x188dce4] PhaseIterGVN::optimize()+0xb4 (phaseX.cpp:1054)
V [libjvm.so+0xb7ab4d] Compile::Optimize()+0x33d (compile.cpp:2800)
V [libjvm.so+0xb7e71f] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x201f (compile.cpp:882)
V [libjvm.so+0x989d74] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x484 (c2compiler.cpp:143)
V [libjvm.so+0xb8dc78] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58 (compileBroker.cpp:2323)
V [libjvm.so+0xb8ee38] CompileBroker::compiler_thread_loop()+0x568 (compileBroker.cpp:1967)
V [libjvm.so+0x110e20b] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:773)
V [libjvm.so+0x1bb5d66] Thread::call_run()+0xb6 (thread.cpp:243)
V [libjvm.so+0x17fd218] thread_native_entry(Thread*)+0x128 (os_linux.cpp:868)
This affects:
- applications/ctw/modules/java_base.java
- com/sun/jdi/CommandCommentDelimiter.java
- compiler/loopopts/TestDeadIrreducibleLoopsMain.java#id3
Unfortunately, the "dist dump" output in the log is currently broken due to mainline issueJDK-8367243.
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/share/opto/phaseX.cpp:784), pid=1046197, tid=1048842
# assert(no_dead_loop) failed: dead loop detected
#
# JRE version: Java(TM) SE Runtime Environment (25.0+1) (fastdebug build 25-valhalla+1-LTS-169)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-valhalla+1-LTS-169, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1887e45] PhaseGVN::dead_loop_check(Node*) [clone .part.0]+0x1d5
Current CompileTask:
C2:317228 133954 b 4 java.util.regex.Pattern::producePermutations (406 bytes)
Stack: [0x00007fc16ecee000,0x00007fc16edee000], sp=0x00007fc16ede90f0, free space=1004k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1887e45] PhaseGVN::dead_loop_check(Node*) [clone .part.0]+0x1d5 (phaseX.cpp:784)
V [libjvm.so+0x1899679] PhaseIterGVN::transform_old(Node*)+0x529 (phaseX.cpp:767)
V [libjvm.so+0x188dce4] PhaseIterGVN::optimize()+0xb4 (phaseX.cpp:1054)
V [libjvm.so+0xb7ab4d] Compile::Optimize()+0x33d (compile.cpp:2800)
V [libjvm.so+0xb7e71f] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x201f (compile.cpp:882)
V [libjvm.so+0x989d74] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x484 (c2compiler.cpp:143)
V [libjvm.so+0xb8dc78] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58 (compileBroker.cpp:2323)
V [libjvm.so+0xb8ee38] CompileBroker::compiler_thread_loop()+0x568 (compileBroker.cpp:1967)
V [libjvm.so+0x110e20b] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:773)
V [libjvm.so+0x1bb5d66] Thread::call_run()+0xb6 (thread.cpp:243)
V [libjvm.so+0x17fd218] thread_native_entry(Thread*)+0x128 (os_linux.cpp:868)
This affects:
- applications/ctw/modules/java_base.java
- com/sun/jdi/CommandCommentDelimiter.java
- compiler/loopopts/TestDeadIrreducibleLoopsMain.java#id3
Unfortunately, the "dist dump" output in the log is currently broken due to mainline issue