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

Per Liden per.liden at oracle.com
Wed Sep 11 09:13:15 UTC 2019



On 9/11/19 11:10 AM, Stefan Karlsson wrote:
> Looks good.
> StefanK
> On 2019-09-11 10:40, Per Liden wrote:
>> 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