RFR (S): 8228857: Refactor PlatformMonitor into PlatformMutex and PlatformMonitor

dean.long at oracle.com dean.long at oracle.com
Fri Aug 9 22:18:49 UTC 2019


Did you set PLATFORM_MONITOR_IMPL_INDIRECT to 1 for debugging non-apple 
builds and forgot to revert it?

dl

On 8/8/19 11:25 PM, David Holmes wrote:
> Okay here is v2 with Kim's non-copyable adjustments and an alternate 
> approach to the "impl" class so that the PlatformMutex doesn't have to 
> pay for the unused pthread_cond_t. Trade-off in this scheme is that 
> PlatformMonitor now has two "impl" pointers so consumes more space.
>
> Also made comment changes suggested by Dan.
>
> http://cr.openjdk.java.net/~dholmes/8228857/webrev.v2/
>
> Thanks,
> David
> -----



More information about the hotspot-dev mailing list