RFR: 8349766: GenShen: Bad progress after degen does not always need full gc

William Kemper wkemper at openjdk.org
Thu Feb 13 22:39:08 UTC 2025


On Tue, 11 Feb 2025 03:31:51 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> In generational mode, only upgrade to full GC from degenerated GC if we've done two degenerated cycles in a row and both indicated bad progress.  Otherwise, start another concurrent GC, which will most likely degenerate also.  But this degenerated cycle will reclaim floating garbage within the young generation much more quickly than a full GC would have done.

Looks good to me.

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

Marked as reviewed by wkemper (Committer).

PR Review: https://git.openjdk.org/jdk/pull/23552#pullrequestreview-2616371490


More information about the hotspot-gc-dev mailing list