RFR: 8373225: GenShen: More adaptive old-generation growth heuristics [v5]

William Kemper wkemper at openjdk.org
Wed Dec 10 21:55:31 UTC 2025


On Wed, 10 Dec 2025 21:50:29 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

>> When old-gen consumes a small percentage of heap size, trigger when old-gen expands by more than ShenandoahMinOldGenGrowthPercent, with default value 50%, from the live data in old at time of previous old-gen mark.
>> 
>> When old-gen consumes a larger percentage of heap size, we trigger when old-gen expands by more than  ShenandoahMinOldGenGrowthRemainingHeapPercent, with default value 25%, of the memory not live in old at the last marking of old.
>
> Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove FRACTIONAL_DENOMINATOR constat

Thank you for the comments and the simplification.

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

Marked as reviewed by wkemper (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28561#pullrequestreview-3564640549


More information about the hotspot-gc-dev mailing list