RFR: 8365880: Shenandoah: Unify memory usage accounting in ShenandoahFreeSet [v3]

Kelvin Nilsen kdnilsen at openjdk.org
Mon Sep 29 00:05:16 UTC 2025


On Fri, 12 Sep 2025 17:17:17 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/shenandoahFreeSet.cpp line 3271:
> 
>> 3269:   }
>> 3270: }
>> 3271: 
> 
> Maybe we no longer need regular bypass because CDS no longer needs regular bypass.

ShenandoahFreeSet::decrease_humongous_waste_for_regular_bypass() is called from ShenandoahHeapRegion::decrement_humongous_waste().

ShenandoahHeapRegion::decrement_humongous_waste() is called from ShenandoahHeapRegion::make_trash().

It looks to me like we still need this functionality.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26867#discussion_r2386436422


More information about the hotspot-gc-dev mailing list