RFR: 8140489: Introduce shorthand for average_time_ms in G1CollectorPolicy

Erik Helin erik.helin at oracle.com
Wed Oct 28 12:56:08 UTC 2015


On 2015-10-28, Mikael Gerdin wrote:
> Hi Erik,
> 
> On 2015-10-27 16:41, Erik Helin wrote:
> >Hi all,
> >
> >this small patch introduces the little helper method
> >G1CollectorPolicy::average_tims_ms instead of calling
> >g1_phases()->average_time_ms, making the code a bit shorter and easier
> >to read.
> >
> >Enhancement:
> >https://bugs.openjdk.java.net/browse/JDK-8140489
> >
> >Webrev:
> >http://cr.openjdk.java.net/~ehelin/8140489/webrev.00/
> 
> Looks good.

Thanks!
Erik

> /Mikael
> 
> >
> >Testing:
> >JPRT
> >
> >Thanks,
> >Erik
> >
> 



More information about the hotspot-gc-dev mailing list