compiler/jvmci/events/JvmciNotifyInstallEventTest.java intermittently timeouts in run w/ enabled JFR. java stack trace shows that main thread and compiler thread both are locked and trying to init jdk.vm.ci.hotspot.HotSpotJVMCIRuntime class:
"MainThread" #16 prio=5 os_prio=31 tid=0x00007fcdec0ea000 nid=0x8803 in Object.wait() [0x00000001acd3f000]
java.lang.Thread.State: RUNNABLE
JavaThread state: _thread_blocked
Thread: 0x00007fcdec0ea000 [0x8803] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
JavaThread state: _thread_blocked
at jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.<clinit>(HotSpotJVMCIRuntime.java:51)
at compiler.jvmci.events.JvmciNotifyInstallEventTest.runTest(JvmciNotifyInstallEventTest.java:83)
at compiler.jvmci.events.JvmciNotifyInstallEventTest.main(JvmciNotifyInstallEventTest.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:747)
"JVMCI CompilerThread0" #9 daemon prio=9 os_prio=31 tid=0x00007fcdef092000 nid=0x7a03 in Object.wait() [0x00000001ac62b000]
java.lang.Thread.State: RUNNABLE
JavaThread state: _thread_blocked
Thread: 0x00007fcdef092000 [0x7a03] State: _at_safepoint _has_called_back 0 _at_poll_safepoint 0
JavaThread state: _thread_blocked
at jdk.vm.ci.runtime.JVMCI.initializeRuntime(Native Method)
at jdk.vm.ci.runtime.JVMCI.<clinit>(JVMCI.java:58)