RFR: Expand old on demand [v42]
Kelvin Nilsen
kdnilsen at openjdk.org
Thu May 25 19:52:04 UTC 2023
On Wed, 10 May 2023 23:58:51 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
>> src/hotspot/share/gc/shenandoah/heuristics/shenandoahHeuristics.hpp line 176:
>>
>>> 174: virtual void initialize();
>>> 175:
>>> 176: virtual size_t evac_slack(size_t region_to_be_recycled);
>>
>> should be regions_to_be_recycled
>
> also explain what the argument means.
I'm renaming evac_slack() to bytes_of_allocation_runway_before_gc_trigger(). I'm renaming the argument young_regions_to_be_reclaimed. I'm adding comments to improve the description of this function and its argument.
-------------
PR Review Comment: https://git.openjdk.org/shenandoah/pull/248#discussion_r1205926157
More information about the shenandoah-dev
mailing list