8142403: Make G1CollectorPolicy::predictor const

Erik Helin erik.helin at oracle.com
Wed Nov 11 14:37:42 UTC 2015


On 2015-11-10, Stefan Karlsson wrote:
> Looks good.

Thanks!
Erik

> 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