RFR: Borrow from old gen
Kelvin Nilsen
kdnilsen at openjdk.java.net
Mon Feb 7 23:47:37 UTC 2022
On Mon, 7 Feb 2022 22:24:10 GMT, William Kemper <wkemper at openjdk.org> wrote:
>> This commit represents multiple months of incremental performance improvements to allow generational shenandoah to run more efficiently, especially with larger heap sizes and high memory utilization.
>>
>> Specific improvements are described in individual commit log messages.
>
> src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.hpp line 50:
>
>> 48: size_t _used;
>> 49: size_t _region_count;
>> 50: size_t _immediate_trash;
>
> Might consider having collection set itself manage these new members through `add_region` API - rather than having similar looking code in each of the heuristics when the collection set is populated.
This is a good idea. I'll work on this change.
-------------
PR: https://git.openjdk.java.net/shenandoah/pull/110
More information about the shenandoah-dev
mailing list