JDK-8192762 : LoopNode::verify_strip_mined() fails with "assert failed: only phis"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-11-29
  • Updated: 2020-09-01
  • Resolved: 2017-12-02
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 10
10 b36Fixed
Related Reports
Relates :  
Description
While compiling AOT code using a debug build, this assert happened:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jenkins/workspace/Build-jdk10-DEBUG-nightly-with-AOT/jdk10/open/src/hotspot/share/opto/loopnode.cpp:945), pid=17905, tid=17974
#  assert(outer->outcnt() >= phis + 2 && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
#
# JRE version: Java(TM) SE Runtime Environment (10.0) (slowdebug build 10-internal+0-2017-11-29-1316397.ecaspole.jdk10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (slowdebug 10-internal+0-2017-11-29-1316397.ecaspole.jdk10, mixed mode, aot, tiered, jvmci, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /tmp/jenkins/workspace/Build-jdk10-DEBUG-nightly-with-AOT/jdk10/core.17905)
#
# An error report file with more information is saved as:
# /tmp/jenkins/workspace/Build-jdk10-DEBUG-nightly-with-AOT/jdk10/hs_err_pid17905.log
#
# Compiler replay data is saved as:
# /tmp/jenkins/workspace/Build-jdk10-DEBUG-nightly-with-AOT/jdk10/replay_pid17905.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

This is the first time this ever happened in this Jenkins job AFAICT.
Comments
Hit JDK-8191950 and JDK-8191273 in testing. Otherwise clean tests.
01-12-2017

webrev: http://cr.openjdk.java.net/~roland/8192762/webrev.00/
01-12-2017

[~thartmann] I can reproduce it
30-11-2017

[~roland], I'm assigning this to you because the code was introduced by JDK-8186027. Please let me know if you are not able to reproduce.
30-11-2017

ILW = Crash during compilation, only seen once but blocks integration, disable loop strip mining = HMM = P2
30-11-2017

This code was introduced by JDK-8186027: http://hg.openjdk.java.net/jdk/hs/rev/f913f6dba2d3#l10.163
30-11-2017