RFR: 8267894: Skip work for empty regions in G1 Full GC

Stefan Johansson sjohanss at openjdk.java.net
Wed Aug 18 11:23:25 UTC 2021


On Tue, 17 Aug 2021 13:29:59 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi all,
> 
> Please review this change to skip doing work on regions that were empty at the beginning of the Full GC in phases that execute on a per-region basis.
> 
> Testing: Tier 1-3.

I think the change looks good in general, but maybe we should go with a "named" state for free regions. Either we change the name for the default value in `G1FullGCHeapRegionAttr` or we add a new state that we set for free regions. What do you think?

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

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



More information about the hotspot-gc-dev mailing list