RFR: 8368681: Shenandoah: Add documentation comments for ShenandoahAllocationRate [v2]

Kelvin Nilsen kdnilsen at openjdk.org
Sat Sep 27 23:13:37 UTC 2025


On Fri, 26 Sep 2025 00:22:14 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:

>> Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix several typos
>
> src/hotspot/share/gc/shenandoah/heuristics/shenandoahAdaptiveHeuristics.hpp line 74:
> 
>> 72: 
>> 73:   // Return the instantaneous rate calculated from from (allocated - _last_sample_value) / (time - _last_sample_time).
>> 74:   // Return Sentinel vlue 0.0 if (time - _last_sample_time) == 0 or if (allocated <= _last_sample_value).
> 
> s/vlue/value

Thanks. Fixed.

(Sorry Xiaolong and William for so many typos in this PR.  Thanks for your careful reviews.)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27505#discussion_r2384381630


More information about the hotspot-gc-dev mailing list