I noticed replay fails when it encounters classes that it can't resolve and when running with -XX:+ReplayIgnoreInitErrors:
# SIGSEGV (0xb) at pc=0x00007fc72b691f1b, pid=305274, tid=305275
#
# JRE version: OpenJDK Runtime Environment (18.0) (fastdebug build 18-internal+0-adhoc.roland.jdk-jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 18-internal+0-adhoc.roland.jdk-jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x940f1b] CompileReplay::parse_cp_ref(JavaThread*)+0x2eb