Test jdk/jfr/jvm/TestVirtualThreadExclusion.java fails with VM option -Xcomp both on linux-x64 and linux-aarch64, the test log snippet:
Event:jdk.VirtualThreadEnd {
startTime = 00:52:34.766 (2024-11-14)
javaThreadId = 41
}
STDERR:
java.lang.NullPointerException: Cannot invoke "jdk.jfr.consumer.RecordedThread.getJavaThreadId()" because the return value of "jdk.jfr.consumer.RecordedEvent.getThread()" is null
at jdk.jfr.jvm.TestVirtualThreadExclusion.verifyThreadExclusion(TestVirtualThreadExclusion.java:75)
at jdk.jfr.jvm.TestVirtualThreadExclusion.main(TestVirtualThreadExclusion.java:69)