JDK-8332369 : C2: assert(false) failed: graph should be schedulable after JDK-8324517
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • CPU: aarch64
  • Submitted: 2024-05-16
  • Updated: 2024-05-23
  • Resolved: 2024-05-23
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 23
23Resolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Sub Tasks
JDK-8332393 :  
Description
The newly added test compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.java for JDK-8324517 fails at tier2 on aarch64 (so far):

Additional JVM args:
-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S6223/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c30fdcec-3ee7-44a9-bfc5-38869fd48e4b/runs/4e34865c-00ca-43a6-87eb-21db2db1c8ab/workspace/open/src/hotspot/share/opto/gcm.cpp:1423), pid=3713891, tid=3713908
#  assert(false) failed: graph should be schedulable
#
# JRE version: Java(TM) SE Runtime Environment (23.0+23) (fastdebug build 23-ea+23-1916)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 23-ea+23-1916, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
............
C2:646  187    b        TestArrayAccessAboveRCAfterRCCastIIEliminated::test13 (134 bytes)

Stack: [0x0000ffff89805000,0x0000ffff89a03000],  sp=0x0000ffff899fe430,  free space=2021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xc1391c]  PhaseCFG::schedule_late(VectorSet&, Node_Stack&)+0xe0c  (gcm.cpp:1423)
V  [libjvm.so+0xc13d94]  PhaseCFG::global_code_motion()+0x390  (gcm.cpp:1521)
V  [libjvm.so+0xc16c00]  PhaseCFG::do_global_code_motion()+0x50  (gcm.cpp:1644)
V  [libjvm.so+0x8ce1bc]  Compile::Code_Gen()+0x218  (compile.cpp:2966)
V  [libjvm.so+0x8d05b4]  Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1540  (compile.cpp:886)
V  [libjvm.so+0x72be10]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x17c  (c2compiler.cpp:142)
V  [libjvm.so+0x8dc17c]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x7cc  (compileBroker.cpp:2303)
V  [libjvm.so+0x8dccc4]  CompileBroker::compiler_thread_loop()+0x514  (compileBroker.cpp:1961)
V  [libjvm.so+0xd4089c]  JavaThread::thread_main_inner()+0xcc  (javaThread.cpp:759)
V  [libjvm.so+0x159ce10]  Thread::call_run()+0xac  (thread.cpp:225)
V  [libjvm.so+0x12f6ac4]  thread_native_entry(Thread*)+0x130  (os_linux.cpp:846)
C  [libpthread.so.0+0x7950]  start_thread+0x190
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19277 Date: 2024-05-17 07:50:08 +0000
17-05-2024

ILW = Bad graph crash, regression with single test in tier2, disable compilation of affected method = HMM = P2
16-05-2024