-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 17.0.10, 20, 21, 22
-
b18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8319227 | 21.0.2 | Aleksey Shipilev | P3 | Resolved | Fixed | b05 |
JDK-8321901 | 17.0.11-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8322798 | 17.0.11 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
$ java -Xcomp -XX:CompileOnly=Crash::createAndClone Crash.java
triggers the following assertion failure:
# A fatal error has been detected by the Java Runtime Environment:
#
# src/hotspot/share/opto/compile.cpp:4004), pid=87530, tid=87544
# assert(n->outcnt() == required_outcnt) failed: malformed control flow
#
# JRE version: Java(TM) SE Runtime Environment (22.0) (fastdebug build 22-internal-2023-09-18-0751569.roberto.castaneda.lozano.JDK-2215)
# Java VM: Java HotSpot(TM) Server VM (fastdebug 22-internal-2023-09-18-0751569.roberto.castaneda.lozano.JDK-2215, compiled mode, tiered, g1 gc, linux-x86)
# Problematic frame:
# V [libjvm.so+0x80b4d7] Compile::final_graph_reshaping()+0x757
The program creates and clones an array as large as allowed by arrayOopDesc::max_array_length(T_BYTE) on a 32-bits platform using default object alignment (8 bytes). The same assertion failure can be triggered for a 'short' array of 0x7ffffff8 elements.
- backported by
-
JDK-8319227 C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
- Resolved
-
JDK-8321901 C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
- Resolved
-
JDK-8322798 C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
- Resolved
- relates to
-
JDK-8316512 C2: large byte array clone crashes on linux-x86 for large FastAllocateSizeLimit values
- Open
-
JDK-8292301 [REDO v2] C2 crash when allocating array of size too large
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/e3faedb2
-
Commit openjdk/jdk21u/de57df40
-
Commit openjdk/jdk/0a3a925a
-
Review openjdk/jdk17u-dev/2089
-
Review openjdk/jdk21u/292
-
Review openjdk/jdk/15914