RFR: 8230845: ZGC: Implement ZLock using os::PlatformMutex

Per Liden per.liden at oracle.com
Wed Sep 11 08:40:54 UTC 2019


ZLock is currently shared code but with a POSIX-specific implementation. 
We now have os::PlatformMutex, so ZLock could just use that instead and 
be portable. We still want to keep the ZLock class, even though it's now 
just a wrapper around PlatformMutex, to have the freedom to easily 
change lock implementation, if such a need should arise.

Bug: https://bugs.openjdk.java.net/browse/JDK-8230845
Webrev: http://cr.openjdk.java.net/~pliden/8230845/webrev.0

/Per



More information about the hotspot-gc-dev mailing list