RFR: 8237884: ZGC: Use clamp() instead of MIN2(MAX2())

Per Liden per.liden at oracle.com
Mon Jan 27 15:25:54 UTC 2020


Thanks for reviewing, Stuart.

cheers,
Per

On 1/27/20 4:24 PM, Stuart Monteith wrote:
> That looks trivially Ok to me. (Not a reviewer).
> 
> On Mon, 27 Jan 2020 at 13:55, Per Liden <per.liden at oracle.com> wrote:
>>
>> JDK-8233702 introduced clamp(), but ZHeuristics still uses MIN2(MAX2())
>> in one place.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8237884
>> Webrev: http://cr.openjdk.java.net/~pliden/8237884/webrev.0
>>
>> /Per


More information about the hotspot-gc-dev mailing list