RFR: Borrow from old gen [v2]

William Kemper wkemper at openjdk.java.net
Tue Feb 8 16:42:51 UTC 2022


On Tue, 8 Feb 2022 16:22:22 GMT, Kelvin Nilsen <kdnilsen 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.
>
> Kelvin Nilsen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Respond to reviewer feedback

Changes requested by wkemper (Committer).

src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.cpp line 93:

> 91:   if (ShenandoahHeap::heap()->mode()->is_generational()) {
> 92:     if (ShenandoahHeap::heap()->is_aging_cycle()) {
> 93:       r->decrement_age();

Why are we decreasing the age here? Putting the region in the collection set will call `make_cset` on the region which sets the age to zero.

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

PR: https://git.openjdk.java.net/shenandoah/pull/110


More information about the shenandoah-dev mailing list