Details
-
Bug
-
Resolution: Fixed
-
P3
-
17, 21, 22, 23
-
b24
-
Fix failed
Description
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f084cb56650, pid=1861816, tid=1861817
#
# JRE version: OpenJDK Runtime Environment (23.0) (slowdebug build 23-internal-adhoc.roland.jdk-jdk2)
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 23-internal-adhoc.roland.jdk-jdk2, mixed mode, compressed oops, compressed class ptrs, serial gc, linux-amd64)
# Problematic frame:
# J 12 c2 TestArrayAccessAboveRCAfterRCCastIIEliminated.test(IIIZ)V (104 bytes) @ 0x00007f084cb56650 [0x00007f084cb56580+0x00000000000000d0]
A range check in the test case is optimized out thanks to a type narrowed down by a dominating range check. The load that depends on the removed range check is kept below the dominating range check by a range check CastII. The range check CastII is removed after loop opts are over. As a consequence, the load can float above the dominating range check.
Attachments
Issue Links
- is cloned by
-
JDK-8332827 [REDO] C2: crash in compiled code because of dependency on removed range check CastIIs
-
- Open
-
- relates to
-
JDK-8332537 C2: High memory usage reported for compiler/loopopts/superword/TestAlignVectorFuzzer.java
-
- Resolved
-
-
JDK-8332369 C2: assert(false) failed: graph should be schedulable after JDK-8324517
-
- Closed
-
-
JDK-8332525 Incorrect result with C2 compiled code after JDK-8324517
-
- Closed
-
-
JDK-8332677 jck test api/java_math/BigInteger/Bitwise.html fails (c2) on aarch64
-
- Closed
-
-
JDK-8332765 Test compiler/loopopts/superword/TestAlignVectorFuzzer.java still times out after JDK-8327978
-
- Closed
-
-
JDK-8332823 C2: assert(false) failed: Bad graph detected in build_loop_late
-
- Closed
-