As discussed in JDK-8361462, static Semaphores are potentially unsafe if accessed during VM termination. The Windows Perf code has:
PdhMutex::_semaphore(
We need to check if it could be accessed during VM termination.
PdhMutex::_semaphore(
We need to check if it could be accessed during VM termination.
- relates to
-
JDK-8361462 JVM crashed with assert(ret == 0) failed: Failed to wait on semaphore
-
- In Progress
-