Running:
test/hotspot/jtreg/compiler/vectorapi/TestLoopStoreVector.java
With extra Flag:
-XX:+StressReflectiveCode
# Internal Error (/home/emanuel/Documents/fork3-jdk/open/src/hotspot/share/opto/graphKit.hpp:516), pid=2509883, tid=2509899
# assert(mem->is_MergeMem()) failed: parse memory is always pre-split
#
# JRE version: Java(TM) SE Runtime Environment (19.0) (fastdebug build 19-internal-2022-06-02-1355549.emanuel...)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-internal-2022-06-02-1355549.emanuel..., mixed mode, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xec1f94] GraphKit::merged_memory()+0x64
Reproduce with JTreg:
~/Documents/jtreg/build/images/jtreg/bin/jtreg -va -s -jdk:/home/emanuel/Documents/fork3-jdk/build/linux-x64-debug/jdk/ -javaoptions:"-XX:+StressReflectiveCode" /home/emanuel/Documents/fork3-jdk/open/test/hotspot/jtreg/compiler/vectorapi/TestLoopStoreVector.java
Replay file should work:
./java -XX:+ReplayCompiles -XX:+ReplayIgnoreInitErrors -XX:ReplayDataFile=/home/emanuel/Documents/fork3-jdk/build/linux-x64-debug/jdk/bin/JTwork/scratch/replay_pid2513889.log -XX:+StressReflectiveCode
Probably the same bug, with the same extra flag (did reproduce locally on my ubuntu):
compiler/vectorapi/reshape/TestVectorReinterpret.java
compiler/vectorapi/reshape/TestVectorCastAVX1.java
compiler/vectorapi/VectorReinterpretTest.java
compiler/vectorapi/VectorMemoryAlias.java
compiler/vectorapi/VectorMaskLoadStoreTest.java
compiler/vectorapi/VectorMaskCastTest.java
compiler/vectorapi/VectorCastShape64Test.java
compiler/vectorapi/VectorCastShape128Test.java
compiler/vectorapi/TestVectorShuffleIotaByte.java
compiler/vectorapi/TestVectorShuffleIota.java
compiler/vectorapi/TestVectorShiftImm.java
compiler/vectorapi/TestNoInline.java
compiler/vectorapi/TestMaskedMacroLogicVector.java
compiler/vectorapi/TestLongVectorNeg.java
compiler/vectorapi/Test8259353.java
This may only reproduce on linux-aarch64-debug and macosx-aarch64-debug, did not even run on my ubuntu (no tests selected):
compiler/vectorapi/reshape/TestVectorCastNeon.java
compiler/vectorapi/VectorReplicateLongSpecialImmTest.java (requires aarch64 in test)