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

Kelvin Nilsen kdnilsen at openjdk.org
Tue Oct 7 16:28:01 UTC 2025


On Fri, 12 Sep 2025 18:08:26 GMT, William Kemper <wkemper 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/shenandoahOldGeneration.hpp line 104:
> 
>> 102: 
>> 103:   // Use this only for unit testing.  Do not use for production.
>> 104:   inline void set_capacity(size_t bytes) {
> 
> We should be able to inline this code in `test_shenandoahOldHeuristic.cpp` in the constructor of the test fixture that calls this method.

Very good suggestion.  Thanks.  Done.

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

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


More information about the hotspot-gc-dev mailing list