The following test failed in the JDK18 CI:
applications/kitchensink/Kitchensink24HStress.java
Here's snippets from the hs_err_pid file:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff9159b441, pid=35376, tid=13884
#
# JRE version: Java(TM) SE Runtime Environment (18.0+17) (build 18-ea+17-974)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (18-ea+17-974, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# V [jvm.dll+0x1ab441] oopDesc::size_given_klass+0x71
#
# Core dump will be written. Default location: T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0\hs_err_pid35376.mdmp
#
# JFR recording file will be written. Location: T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink24HStress_java\scratch\0\hs_err_pid35376.jfr
<snip>
--------------- T H R E A D ---------------
Current thread (0x000001bf6feddd90): GCTaskThread "GC Thread#5" [stack: 0x0000006de8900000,0x0000006de8a00000] [id=13884]
Stack: [0x0000006de8900000,0x0000006de8a00000], sp=0x0000006de89ff268, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x1ab441] oopDesc::size_given_klass+0x71 (oop.inline.hpp:204)
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000000000000100
The only similar bug I found to this failure mode is:
JDK-8235305 Corrupted oops embedded in nmethods due to parallel modification during optional evacuation
so I'm starting this bug in hotspot/gc for initial triage.