RFR: 8312116: GenShen: make instantaneous allocation rate triggers more timely [v29]
Kelvin Nilsen
kdnilsen at openjdk.org
Wed Feb 18 20:23:43 UTC 2026
On Tue, 17 Feb 2026 23:33:41 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
>> Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Improve comments
>
> src/hotspot/share/gc/shenandoah/heuristics/shenandoahAdaptiveHeuristics.cpp line 478:
>
>> 476:
>> 477: avg_cycle_time = _gc_cycle_time_history->davg() + (_margin_of_error_sd * _gc_cycle_time_history->dsd());
>> 478: avg_alloc_rate = _allocation_rate.upper_bound(_margin_of_error_sd);
>
> Before we test any trigger conditions, we should consider whether a certain minimum amount of memory has been allocated. Move the test from accelerated-triggers below to apply to all triggers.
Changed this code.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29039#discussion_r2824280978
More information about the shenandoah-dev
mailing list