-
Bug
-
Resolution: Fixed
-
P3
-
11, 16, 17, 18
-
b09
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8272645 | 17.0.2 | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8272679 | 17.0.1 | Tobias Hartmann | P3 | Resolved | Fixed | b08 |
JDK-8272717 | 11.0.14-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8273793 | 11.0.14 | Martin Doerr | P3 | Resolved | Fixed | b01 |
To reproduce (fails 1 out of 5-6 times):
$ java -Xcomp -XX:CompileOnly=Test -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM -XX:+StressIGVN -XX:RepeatCompilation=100 Test.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79226/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0cb697b6-5006-4d18-afca-8f82d7082f5e/runs/5d51f3ad-e036-4803-805d-9e13517ddb05/workspace/open/src/hotspot/share/opto/phaseX.cpp:945), pid=19896, tid=19909
# assert(no_dead_loop) failed: dead loop detected
#
# JRE version: Java(TM) SE Runtime Environment (17.0+25) (fastdebug build 17-ea+25-LTS-2214)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+25-LTS-2214, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x15ef6e6] PhaseGVN::dead_loop_check(Node*) [clone .part.0]+0x156
.............
Command Line: -Xcomp -XX:CompileOnly=Test -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM -XX:+StressIGVN -XX:RepeatCompilation=100 --add-modules=ALL-DEFAULT jdk.compiler/com.sun.tools.javac.launcher.Main Test.java
.............
Current thread (0x00007ff92c235ce0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=19909, stack(0x00007ff903cfd000,0x00007ff903dfe000)]
Current CompileTask:
C2: 3925 83 b Test::mainTest (577 bytes)
Stack: [0x00007ff903cfd000,0x00007ff903dfe000], sp=0x00007ff903df9420, free space=1009k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x15ef6e6] PhaseGVN::dead_loop_check(Node*) [clone .part.0]+0x156
V [libjvm.so+0x15fdb29] PhaseIterGVN::transform_old(Node*)+0x609
V [libjvm.so+0x15f63ae] PhaseIterGVN::optimize()+0x7e
V [libjvm.so+0xa19106] Compile::Optimize()+0x216
V [libjvm.so+0xa1bec5] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1585
V [libjvm.so+0x841aba] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1ea
V [libjvm.so+0xa2c8e3] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x1013
V [libjvm.so+0xa2d5f8] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x18a3a11] JavaThread::thread_main_inner()+0x271
V [libjvm.so+0x18ab610] Thread::call_run()+0x100
V [libjvm.so+0x157721e] thread_native_entry(Thread*)+0x10e
- backported by
-
JDK-8272645 C2: assert(no_dead_loop) failed: dead loop detected
- Resolved
-
JDK-8272679 C2: assert(no_dead_loop) failed: dead loop detected
- Resolved
-
JDK-8272717 C2: assert(no_dead_loop) failed: dead loop detected
- Resolved
-
JDK-8273793 C2: assert(no_dead_loop) failed: dead loop detected
- Resolved
- relates to
-
JDK-8341818 C2 compilation fails with "dead loop detected"
- Open
- links to
-
Commit openjdk/jdk11u-dev/87299f32
-
Commit openjdk/jdk17u/90341dbc
-
Commit openjdk/jdk/489e5fd1
-
Review openjdk/jdk11u-dev/342
-
Review openjdk/jdk17u/17
-
Review openjdk/jdk/4860