RFR (XXS): 8142403: Make G1CollectorPolicy::predictor const

Thomas Schatzl thomas.schatzl at oracle.com
Tue Nov 10 14:06:49 UTC 2015


Hi,

On Tue, 2015-11-10 at 14:59 +0100, 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

  looks good.

Thomas





More information about the hotspot-gc-dev mailing list