Details
-
Bug
-
Resolution: Fixed
-
P3
-
11.0.16, 17, 19, 20
-
b18
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8297511 | 19.0.2 | Tobias Hartmann | P3 | Resolved | Fixed | b07 |
JDK-8296357 | 17.0.7-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8299467 | 17.0.7 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8296254 | 11.0.19-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8299822 | 11.0.19 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
Description
# Internal Error (/oracle/jdk3/open/src/hotspot/share/opto/superword.cpp:2452), pid=1970381, tid=1970394
# assert(!lpt()->has_reduction_nodes() || cl->is_reduction_loop()) failed: non-reduction loop contains reduction nodes
#
# JRE version: Java(TM) SE Runtime Environment (20.0) (fastdebug build 20-internal-2022-07-25-1155399.tobias...)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-internal-2022-07-25-1155399.tobias..., compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1a4948e] SuperWord::output()+0xc0e
Current CompileTask:
C2: 305 31 b 4 Test::mainTest (617 bytes)
Stack: [0x00007f294ad5d000,0x00007f294ae5e000], sp=0x00007f294ae57e00, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1a4948e] SuperWord::output()+0xc0e
V [libjvm.so+0x1a4c4b2] SuperWord::transform_loop(IdealLoopTree*, bool)+0x262
V [libjvm.so+0x14ffed2] PhaseIdealLoop::build_and_optimize()+0x12b2
V [libjvm.so+0xb1c5e3] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x293
V [libjvm.so+0xb18e37] Compile::Optimize()+0xda7
V [libjvm.so+0xb1b020] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x15c0
V [libjvm.so+0x925373] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x683
V [libjvm.so+0xb2a138] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xbb8
V [libjvm.so+0xb2b068] CompileBroker::compiler_thread_loop()+0x638
V [libjvm.so+0x10a5c88] JavaThread::thread_main_inner()+0x238
V [libjvm.so+0x1ada4e0] Thread::call_run()+0x100
V [libjvm.so+0x17974a4] thread_native_entry(Thread*)+0x104
Attachments
Issue Links
- backported by
-
JDK-8296254 C2 compilation fails with assert "non-reduction loop contains reduction nodes"
- Resolved
-
JDK-8296357 C2 compilation fails with assert "non-reduction loop contains reduction nodes"
- Resolved
-
JDK-8297511 C2 compilation fails with assert "non-reduction loop contains reduction nodes"
- Resolved
-
JDK-8299467 C2 compilation fails with assert "non-reduction loop contains reduction nodes"
- Resolved
-
JDK-8299822 C2 compilation fails with assert "non-reduction loop contains reduction nodes"
- Resolved
- relates to
-
JDK-8279622 C2: miscompilation of map pattern as a vector reduction
- Resolved
-
JDK-8287087 C2: perform SLP reduction analysis on-demand
- Resolved
-
JDK-8286177 C2: "failed: non-reduction loop contains reduction nodes" assert failure
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/e92b7c3e
-
Commit openjdk/jdk17u-dev/aa8a8412
-
Commit openjdk/jdk19u/6c7378a3
-
Commit openjdk/jdk/4bdd1c91
-
Review openjdk/jdk11u-dev/1630
-
Review openjdk/jdk17u-dev/1008
-
Review openjdk/jdk19u/84
-
Review openjdk/jdk/10535