-
Bug
-
Resolution: Fixed
-
P3
-
17, 21, 22
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8317478 | 21.0.2 | Goetz Lindenmaier | P3 | Resolved | Fixed | b02 |
JDK-8316409 | 17.0.10-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8317654 | 17.0.10 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
To reproduce:
$ java -Xcomp -XX:-TieredCompilation -XX:CompileCommand=compileonly,Test::* Test.java
$ java -Xcomp -XX:-TieredCompilation -XX:CompileOnly=Reduced::test Reduced.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S141865/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8a11c2a6-dc3b-42a8-a1bf-5f4afa468e45/runs/9fc53209-cfb4-45ef-bad1-2b89080d866c/workspace/open/src/hotspot/share/opto/loopopts.cpp:1714), pid=3134144, tid=3134158
# assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
#
# JRE version: Java(TM) SE Runtime Environment (22.0) (fastdebug build 22-internal-2023-08-25-1459578.christian.hagedorn.jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-internal-2023-08-25-1459578.christian.hagedorn.jdk, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x12aeb03] PhaseIdealLoop::try_sink_out_of_loop(Node*)+0xc53
..........
Command Line: -XX:CompileCommand=quiet -XX:-TieredCompilation -Xcomp -XX:CompileOnly=Test::* Test
..........
Current CompileTask:
C2: 234 6 !b Test::lMeth1 (341 bytes)
Stack: [0x00007f76cd233000,0x00007f76cd333000], sp=0x00007f76cd32dc10, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x12aeb03] PhaseIdealLoop::try_sink_out_of_loop(Node*)+0xc53 (loopopts.cpp:1714)
V [libjvm.so+0x12aed57] PhaseIdealLoop::split_if_with_blocks_post(Node*)+0xe7
V [libjvm.so+0x12af677] PhaseIdealLoop::split_if_with_blocks(VectorSet&, Node_Stack&)+0x97
V [libjvm.so+0x12a34ef] PhaseIdealLoop::build_and_optimize()+0xf9f
V [libjvm.so+0x9ef5d9] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x3b9
V [libjvm.so+0x9eab1f] Compile::Optimize()+0xdaf
V [libjvm.so+0x9ee3a0] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1bb0
V [libjvm.so+0x84949b] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x13b
V [libjvm.so+0x9fa2b7] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x977
V [libjvm.so+0x9faff8] CompileBroker::compiler_thread_loop()+0x5f8
V [libjvm.so+0xeb65cc] JavaThread::thread_main_inner()+0xcc
V [libjvm.so+0x17a09fa] Thread::call_run()+0xba
V [libjvm.so+0x149fe9a] thread_native_entry(Thread*)+0x12a
- backported by
-
JDK-8316409 C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
- Resolved
-
JDK-8317478 C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
- Resolved
-
JDK-8317654 C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
- Resolved
- relates to
-
JDK-8267988 C2: assert(!addp->is_AddP() || addp->in(AddPNode::Base)->is_top() || addp->in(AddPNode::Base) == n->in(AddPNode::Base)) failed: Base pointers must match (addp 1301)
- Closed
-
JDK-8252372 Check if cloning is required to move loads out of loops in PhaseIdealLoop::split_if_with_blocks_post()
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/98e54902
-
Commit openjdk/jdk21u/67d2836d
-
Commit openjdk/jdk/ba1a4639
-
Review openjdk/jdk17u-dev/1829
-
Review openjdk/jdk21u/218
-
Review openjdk/jdk/15562