RFR: 8365880: Shenandoah: Unify memory usage accounting in ShenandoahFreeSet [v3]
Kelvin Nilsen
kdnilsen at openjdk.org
Tue Oct 7 17:20:31 UTC 2025
On Fri, 12 Sep 2025 17:47:48 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
>> Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:
>>
>> another tweak to make GHA gtest happy
>
> src/hotspot/share/gc/shenandoah/shenandoahGenerationalEvacuationTask.cpp line 235:
>
>> 233: // is_collector_free range.
>> 234: region->restore_top_before_promote();
>> 235: size_t region_to_be_used_in_old = region->used();
>
> is region_to_be_used_in_old dead here?
It's not dead, but is only relevant within assertion. Enclosing this code in #ifdef ASSERT
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26867#discussion_r2411330326
More information about the hotspot-gc-dev
mailing list