-
Bug
-
Resolution: Unresolved
-
P3
-
17, 21, 23, 24
Reproducible with attached test case:
$ java -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+PrintCompilation -XX:CompileOnly=TestSunkLoadAntiDependency::test1 -XX:CompileCommand=quiet TestSunkLoadAntiDependency
84 1 n jdk.internal.vm.Continuation::enterSpecial (native) (static)
84 2 n jdk.internal.vm.Continuation::doYield (native) (static)
116 3 b TestSunkLoadAntiDependency::test1 (89 bytes)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/roland/jdk-jdk/src/hotspot/share/opto/gcm.cpp:894), pid=1173112, tid=1173126
# assert(use_mem_state != load->find_exact_control(load->in(0))) failed: dependence cycle found
#
# JRE version: OpenJDK Runtime Environment (24.0) (fastdebug build 24-internal-adhoc.roland.jdk-jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 24-internal-adhoc.roland.jdk-jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xe1a1d3] PhaseCFG::insert_anti_dependences(Block*, Node*, bool)+0x2903
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/roland/tmp/core.1173112)
#
# An error report file with more information is saved as:
# /home/roland/tmp/hs_err_pid1173112.log
#
# Compiler replay data is saved as:
# /home/roland/tmp/replay_pid1173112.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
$ java -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+PrintCompilation -XX:CompileOnly=TestSunkLoadAntiDependency::test1 -XX:CompileCommand=quiet TestSunkLoadAntiDependency
84 1 n jdk.internal.vm.Continuation::enterSpecial (native) (static)
84 2 n jdk.internal.vm.Continuation::doYield (native) (static)
116 3 b TestSunkLoadAntiDependency::test1 (89 bytes)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/roland/jdk-jdk/src/hotspot/share/opto/gcm.cpp:894), pid=1173112, tid=1173126
# assert(use_mem_state != load->find_exact_control(load->in(0))) failed: dependence cycle found
#
# JRE version: OpenJDK Runtime Environment (24.0) (fastdebug build 24-internal-adhoc.roland.jdk-jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 24-internal-adhoc.roland.jdk-jdk, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xe1a1d3] PhaseCFG::insert_anti_dependences(Block*, Node*, bool)+0x2903
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/roland/tmp/core.1173112)
#
# An error report file with more information is saved as:
# /home/roland/tmp/hs_err_pid1173112.log
#
# Compiler replay data is saved as:
# /home/roland/tmp/replay_pid1173112.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)