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

Stuart Monteith stuart.monteith at linaro.org
Mon Jan 27 15:24:08 UTC 2020


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