-
Bug
-
Resolution: Fixed
-
P3
-
20, 21, 22, 23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8333941 | 21.0.5-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8331712 | 21.0.4 | Aleksey Shipilev | P3 | Resolved | Fixed | b02 |
Only hits the assert in fastdebug, not slowdebug, and product seems unaffected (no failure, results correct).
Reproduce:
java --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED -XX:CompileCommand=compileonly,TestMinIntScale::test* -XX:CompileCommand=printcompilation,TestMinIntScale::test* -XX:CompileCommand=TraceAutoVectorization,TestMinIntScale::test*,ALIGN_VECTOR -XX:+TraceNewVectors -Xbatch -XX:LoopUnrollLimit=1000 -XX:+TraceLoopOpts TestMinIntScale.java
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/oracle-work/jdk-fork2/open/src/hotspot/share/utilities/powerOfTwo.hpp:76), pid=550535, tid=550549
# assert(is_power_of_2(value)) failed: value must be a power of 2: 0xffffffff80000000
#
# JRE version: Java(TM) SE Runtime Environment (23.0) (fastdebug build 23-internal-2024-03-12-0734066.emanuel...)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 23-internal-2024-03-12-0734066.emanuel..., mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x172ebba] SuperWord::adjust_pre_loop_limit_to_align_main_loop_vectors()+0xaba
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /oracle-work/jdk-fork2/build/linux-x64-slowdebug/jdk/bin/core.550535)
#
# An error report file with more information is saved as:
# /oracle-work/jdk-fork2/build/linux-x64-slowdebug/jdk/bin/hs_err_pid550535.log
#
# Compiler replay data is saved as:
# /oracle-work/jdk-fork2/build/linux-x64-slowdebug/jdk/bin/replay_pid550535.log
- backported by
-
JDK-8331712 C2 SuperWord: disable vectorization for large stride and scale
- Resolved
-
JDK-8333941 C2 SuperWord: disable vectorization for large stride and scale
- Resolved
- relates to
-
JDK-8286197 C2: Optimize MemorySegment shape in int loop
- Resolved
-
JDK-8310190 C2 SuperWord: AlignVector is broken, generates misaligned packs
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/2b858f5b
-
Commit openjdk/jdk/29314587
-
Review openjdk/jdk21u-dev/495
-
Review openjdk/jdk/18485