JDK-8316944 : assert(false) failed: graph should be schedulable
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2023-09-24
  • Updated: 2023-09-26
Description
ADDITIONAL SYSTEM INFORMATION :
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#

A DESCRIPTION OF THE PROBLEM :
I ran a testcase using JDK8u392, I found the JVM crashed under the option -XX:DominatorSearchLimit=0

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/data/xzf/jdk8u/hotspot/src/share/vm/opto/lcm.cpp:967), pid=15043, tid=0x00007f8a37060700
#  assert(false) failed: graph should be schedulable
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java  -XX:DominatorSearchLimit=0 compiler.controldependency.TestAntiDependentMembar

ACTUAL -
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/lcm.cpp:967
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/data/jdk8u/hotspot/src/share/vm/opto/lcm.cpp:967), pid=15043, tid=0x00007f8a37060700
#  assert(false) failed: graph should be schedulable
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/repository//toreport/TestAntiDependentMembar_09_24_00_05_09/hs_err_pid15043.log
[thread 140231603250944 also had an error]
[thread 140231604303616 also had an error]
#
# Compiler replay data is saved as:
# /home/repository/toreport/TestAntiDependentMembar_09_24_00_05_09/replay_pid15043.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 140231605356288
Dumping core ...

---------- BEGIN SOURCE ----------

---------- END SOURCE ----------

FREQUENCY : always



Comments
Issue is not reproduced. Crash is not observed on Oracle JDK8u381 OS: Windows 10 JDK 8u381: Pass JDK 8u381 Fastdebug : Pass OS: Ubuntu 20.08 JDK 8u381: Pass JDK 8u381 Fastdebug : Pass Attaching submitter's crash log hs_err_pid15043.log Moving it to dev team for further analysis.
26-09-2023