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 Investigate JVM crashes with assert(ret == 0) failed: Failed to wait on semaphore -           
- Resolved
 
-         
 P4
  P4