RFR: 8355743: G1: Collection set clearing is not recorded as part of "Free Collection Set Time"

Aleksey Shipilev shade at openjdk.org
Wed May 14 09:42:53 UTC 2025


On Wed, 14 May 2025 08:15:20 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change that moves "clear_collection_set" work correctly under the "Serial Free Collection Set" phase.
> 
> There is probably no particular impact on timings, but just for correctness.
> 
> Testing: gha, gc/g1 tests
> 
> Thanks,
>   Thomas

Makes sense. It does not look that the amount of work done in `clear_collection_set` is trivial, so I would mark this for additional backports to improve GC logging accuracy everywhere.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25222#pullrequestreview-2839489885


More information about the hotspot-gc-dev mailing list