8142403: Make G1CollectorPolicy::predictor const

Stefan Karlsson stefan.karlsson at oracle.com
Tue Nov 10 14:16:46 UTC 2015


Looks good.

StefanK

On 2015-11-10 14:59, Erik Helin wrote:
> Hi all,
>
> this small patch makes the method G1CollectorPolicy::predictor const.
> The method can also return a const reference to the G1Predictor since
> the only public method on G1Predictor is const.
>
> Enhancement:
> https://bugs.openjdk.java.net/browse/JDK-8142403
>
> Webrev:
> http://cr.openjdk.java.net/~ehelin/8142403/webrev.00/
>
> Testing:
> JPRT
>
> Thanks,
> Erik




More information about the hotspot-gc-dev mailing list