JDK-8254734 : "dead loop detected" assert failure with patch from 8223051
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-14
  • Updated: 2020-12-30
  • Resolved: 2020-10-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 16
11.0.11-oracleFixed 16 b21Fixed
Related Reports
Relates :  
Relates :  
Description
 23  ConI  ===  0  [[ 1456  24  1019  49  1315  1074  1068  1056  1044  163  176  189  641  1013  1001  989  1050  995  1007  1062 ]]  #int:1
 1456  AddI  === _  1456  23  [[ 1494  1457  1456 ]]  !orig=[1455] !jvms: Test::test @ bci:223
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/phaseX.cpp:923
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/roland/jdk-jdk/src/hotspot/share/opto/phaseX.cpp:923), pid=3372950, tid=3372964
#  assert(no_dead_loop) failed: dead loop detected
#
# JRE version: OpenJDK Runtime Environment (16.0) (fastdebug build 16-internal+0-adhoc.roland.jdk-jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 16-internal+0-adhoc.roland.jdk-jdk, compiled mode, sharing, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x1506180]  PhaseGVN::dead_loop_check(Node*)+0x160
#
# 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/tmp/JTwork/scratch/0/core.3372950)
#

when running compiler/c2/TestDeadDataLoopIGVN.java with -server -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation and the patch from 8223051
Comments
Fix Request Should get backported for parity with 11.0.11-oracle. Applies cleanly.
28-12-2020

Changeset: f44fc6de Author: Roland Westrelin <roland@openjdk.org> Date: 2020-10-15 06:53:03 +0000 URL: https://git.openjdk.java.net/jdk/commit/f44fc6de
15-10-2020

ILW = Assert during C2 compilation, single test and only triggers with patch for JDK-8223051, no workaround but disable compilation = HLM = P3
15-10-2020