Several replay files generated by following three java/lang/String tests crash with
# Internal Error (/home/katya/work/JavaSE/Hotspot/ws/git/jdk.jdk.master/open/src/hotspot/share/ci/ciInstanceKlass.hpp:146), pid=29844, tid=29858
# assert(is_loaded()) failed: must be loaded
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-11-10-1930227.katya...)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-11-10-1930227.katya..., mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x8dd017] ciMethod::find_monomorphic_target(ciInstanceKlass*, ciInstanceKlass*, ciInstanceKlass*, bool)+0x497
The list of tests:
java/lang/String/StringJoinTest.java
java/lang/String/Indent.java
java/lang/String/CompactString/OffsetByCodePoints.java
The issue seems to be present only in latest jdk (jdk18) workspace, no crashes using latest jdk18 promoted builds
but it fails differently:
b18-b20:
java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder
Error while parsing line 46: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder
b21:
java.lang.NoClassDefFoundError: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder
Error while parsing line 46 at position 80: jdk/internal/reflect/MethodHandleAccessorFactory$LazyStaticHolder
b22:
Error while parsing line 425 at position 50: constant pool length mismatch: wrong class files?
Failed on constant pool length mismatch: wrong class files?