RFR: 8140489: Introduce shorthand for average_time_ms in G1CollectorPolicy

Thomas Schatzl thomas.schatzl at oracle.com
Wed Oct 28 13:00:45 UTC 2015


Hi,

On Tue, 2015-10-27 at 16:41 +0100, 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/
> 
> Testing:
> JPRT

  looks good.

Thomas




More information about the hotspot-gc-dev mailing list