RFR (XXS): 8210463: Recalculate_used() always sets time taken in G1GCPhaseTimes
stefan.johansson at oracle.com
Fri Sep 7 13:56:52 UTC 2018
On 2018-09-07 15:38, Thomas Schatzl wrote:
> can I have reviews for this refactoring of
> G1CollectedHeap::recalculate_used() to move out time measurement from
> this method to the only place where we intend to measure the time that
> operation takes?
> In the other cases we use recalculate_used() only in asserts.
> While it does not really hurt because the wrong values are never read
> from, it's still a matter of cleaning up the code imho.
I agree, nice cleanup.
> manual checking that time is still reported for the only case we care
More information about the hotspot-gc-dev