-
Bug
-
Resolution: Fixed
-
P2
-
16, 17
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8261272 | 17 | Roland Westrelin | P2 | Resolved | Fixed | b00 |
JDK-8261389 | 16.0.2 | Roland Westrelin | P2 | Resolved | Fixed | b00 |
JDK-8261376 | 16.0.1 | Roland Westrelin | P2 | Resolved | Fixed | b05 |
The attached fuzzer test starts to fail after JDK-8258393 with the following assertion:
To reproduce (could only reproduce it with the replay file):
java -Xmx1G -XX:+ReplayCompiles -XX:ReplayDataFile=replay_pid5517.log -XX:+ReplayIgnoreInitErrors
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14607/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eb38ced5-f547-47f5-8cdb-5f862460886e/runs/be7bd1d1-1006-4697-88a2-7187c1776884/workspace/open/src/hotspot/share/opto/gcm.cpp:276), pid=5517, tid=5544
# assert(false) failed: unscheduable graph
#
# JRE version: Java(TM) SE Runtime Environment (16.0+34) (fastdebug build 16-ea+34-2216)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+34-2216, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xd101b2] assert_dom(Block*, Block*, Node*, PhaseCFG const*)+0x1b2
..........
Command Line: -Xmx1G Test
..........
Current thread (0x00007fe54c494520): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5544, stack(0x00007fe51b6ff000,0x00007fe51b800000)]
Current CompileTask:
C2: 6110 271 4 Test::mainTest (768 bytes)
Stack: [0x00007fe51b6ff000,0x00007fe51b800000], sp=0x00007fe51b7fadb0, free space=1007k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xd101b2] assert_dom(Block*, Block*, Node*, PhaseCFG const*)+0x1b2
V [libjvm.so+0xd11928] PhaseCFG::schedule_early(VectorSet&, Node_Stack&)+0x588
V [libjvm.so+0xd1a561] PhaseCFG::global_code_motion()+0x281
V [libjvm.so+0xd1e5f1] PhaseCFG::do_global_code_motion()+0x51
V [libjvm.so+0xa0eb40] Compile::Code_Gen()+0x290
V [libjvm.so+0xa19b77] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1917
V [libjvm.so+0x849c2c] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1dc
V [libjvm.so+0xa298e8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xe88
V [libjvm.so+0xa2a538] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x18bb1e6] JavaThread::thread_main_inner()+0x256
V [libjvm.so+0x18c1b60] Thread::call_run()+0x100
V [libjvm.so+0x15a39b6] thread_native_entry(Thread*)+0x116
Other failure mode:
# Internal Error (/oracle/valhalla/open/src/hotspot/share/opto/gcm.cpp:744), pid=610421, tid=610439
# assert(!LCA_orig->dominates(pred_block) || early->dominates(pred_block)) failed: early is high enough
To reproduce (could only reproduce it with the replay file):
java -Xmx1G -XX:+ReplayCompiles -XX:ReplayDataFile=replay_pid5517.log -XX:+ReplayIgnoreInitErrors
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14607/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/eb38ced5-f547-47f5-8cdb-5f862460886e/runs/be7bd1d1-1006-4697-88a2-7187c1776884/workspace/open/src/hotspot/share/opto/gcm.cpp:276), pid=5517, tid=5544
# assert(false) failed: unscheduable graph
#
# JRE version: Java(TM) SE Runtime Environment (16.0+34) (fastdebug build 16-ea+34-2216)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+34-2216, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xd101b2] assert_dom(Block*, Block*, Node*, PhaseCFG const*)+0x1b2
..........
Command Line: -Xmx1G Test
..........
Current thread (0x00007fe54c494520): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5544, stack(0x00007fe51b6ff000,0x00007fe51b800000)]
Current CompileTask:
C2: 6110 271 4 Test::mainTest (768 bytes)
Stack: [0x00007fe51b6ff000,0x00007fe51b800000], sp=0x00007fe51b7fadb0, free space=1007k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xd101b2] assert_dom(Block*, Block*, Node*, PhaseCFG const*)+0x1b2
V [libjvm.so+0xd11928] PhaseCFG::schedule_early(VectorSet&, Node_Stack&)+0x588
V [libjvm.so+0xd1a561] PhaseCFG::global_code_motion()+0x281
V [libjvm.so+0xd1e5f1] PhaseCFG::do_global_code_motion()+0x51
V [libjvm.so+0xa0eb40] Compile::Code_Gen()+0x290
V [libjvm.so+0xa19b77] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1917
V [libjvm.so+0x849c2c] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1dc
V [libjvm.so+0xa298e8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xe88
V [libjvm.so+0xa2a538] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x18bb1e6] JavaThread::thread_main_inner()+0x256
V [libjvm.so+0x18c1b60] Thread::call_run()+0x100
V [libjvm.so+0x15a39b6] thread_native_entry(Thread*)+0x116
Other failure mode:
# Internal Error (/oracle/valhalla/open/src/hotspot/share/opto/gcm.cpp:744), pid=610421, tid=610439
# assert(!LCA_orig->dominates(pred_block) || early->dominates(pred_block)) failed: early is high enough
- backported by
-
JDK-8261272 C2: assert(false) failed: unscheduable graph
- Resolved
-
JDK-8261376 C2: assert(false) failed: unscheduable graph
- Resolved
-
JDK-8261389 C2: assert(false) failed: unscheduable graph
- Resolved
- relates to
-
JDK-8258393 Shenandoah: "graph should be schedulable" assert failure
- Resolved
-
JDK-8252372 Check if cloning is required to move loads out of loops in PhaseIdealLoop::split_if_with_blocks_post()
- Resolved
(2 links to)