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

Kelvin Nilsen kdnilsen at openjdk.org
Wed Oct 8 18:04:38 UTC 2025


On Wed, 8 Oct 2025 16:50:52 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

>> src/hotspot/share/gc/shenandoah/shenandoahGeneration.hpp line 71:
>> 
>>> 69:   // Usage
>>> 70: 
>>> 71:   volatile size_t _used;
>> 
>> Get rid of this.  no longer needed.  (search for volatile, most should go.)
>> 
>> do we need _max_capacity?  probably not.
>
> Done.

removed.

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

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


More information about the shenandoah-dev mailing list