RFR: 8316299: GenShen: Reduce frequency of expedited GC
Aleksey Shipilev
shade at openjdk.org
Thu Sep 14 15:40:40 UTC 2023
On Thu, 14 Sep 2023 15:35:43 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
>> Err, miscomputed. That would be only `1%` of heap size.
>
> Yes. 20% of 5%. The idea: In the rare scenario that we anticipate that promotion will consume over 20% of the evacuation reserve, we'll expedite the cycle so as to improve the likelihood that GC will replenish young allocation pool before it becomes exhausted.
All right. Feels like it needs to be a tunable, but hardcoded is okay for now.
-------------
PR Review Comment: https://git.openjdk.org/shenandoah/pull/325#discussion_r1326146116
More information about the shenandoah-dev
mailing list