RFR: 8339960: GenShen: Fix inconsistencies in generational Shenandoah behavior

William Kemper wkemper at openjdk.org
Wed Sep 11 16:46:35 UTC 2024


On Wed, 11 Sep 2024 16:25:43 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> This fixes some bugs found in recent code review and playback of an assertion failure.

src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp line 1428:

> 1426:                 old_collector_regions, old_collector_used);
> 1427: 
> 1428:   idx_t rightmost_idx = (mutator_leftmost == max_regions)? -1: (idx_t) mutator_rightmost;

Does this also affect upstream? Should we have a non-genshen patch too?

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

PR Review Comment: https://git.openjdk.org/shenandoah/pull/497#discussion_r1755142460


More information about the shenandoah-dev mailing list