RFR: 8278277 G1: Simplify implementation of G1GCPhaseTimes::record_or_add_time_secs

Ivan Walulya iwalulya at openjdk.java.net
Mon Dec 6 06:37:11 UTC 2021


On Mon, 6 Dec 2021 03:13:55 GMT, Hamlin Li <mli at openjdk.org> wrote:

> This is a minor improvement of G1GCPhaseTimes::record_or_add_time_secs to reuse WorkerDataArray<T>::set_or_add rather than implement the logic in G1GCPhaseTimes itself.

Lgtm!

-------------

Marked as reviewed by iwalulya (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6715



More information about the hotspot-gc-dev mailing list