RFR: 8181859: Monitor deflation is not checked in cleanup path

Aleksey Shipilev shade at redhat.com
Wed Jun 14 09:14:12 UTC 2017


On 06/14/2017 11:07 AM, Robbin Ehn wrote:
> Full:
> http://cr.openjdk.java.net/~rehn/8181859/2/webrev/

Looks good to me.

I would paranoidally add parentheses in this expression, but your choice.

return MonitorUsedDeflationThreshold > 0 && (monitors_used * 100LL) /
gMonitorPopulation > MonitorUsedDeflationThreshold;

Thanks,
-Aleksey




More information about the hotspot-runtime-dev mailing list