RFR: 8348595: GenShen: Fix generational free-memory no-progress check [v3]

Kelvin Nilsen kdnilsen at openjdk.org
Tue Feb 11 14:20:13 UTC 2025


On Mon, 10 Feb 2025 18:41:27 GMT, Paul Hohensee <phh at openjdk.org> wrote:

>> ShenandoahCriticalFreeThreshold represents a percentage of the "total size".  To calculate N% of the young generation size, we divide the generation size by 100 and then multiply by ShenandoahCriticalFreeThreshold.  This code is a bit different in the most recent revision.  Do you think it needs a comment?
>
> Yes :)

I've added a comment here.  Thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23306#discussion_r1950933308


More information about the hotspot-gc-dev mailing list