Integrated: 8311843: GenShen: assertion failed "Old generation affiliated regions must be less than capacity"

William Kemper wkemper at openjdk.org
Tue Aug 29 20:51:47 UTC 2023


On Fri, 25 Aug 2023 17:45:44 GMT, William Kemper <wkemper at openjdk.org> wrote:

> There are a few fixes here:
> 
> During a Full GC, the compaction process is not constrained by the maximum capacity for young and old generations. We must, therefore, reestablish these constraints after the Full GC completes by _forcing_ the transfer of regions to old, if necessary.
> 
> When a region is "flipped" from the Mutator's free set to the Collector's, we cannot _force_ the transfer of the region because the young generation may not have any free regions.
> 
> A logic error in the loop which rebuilds the free set could prevent transferring free regions from the mutator to the collector reserves.
> 
> Some unused methods and fields were removed.

This pull request has now been integrated.

Changeset: 72009f4f
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/72009f4f73afc4a4be0701554be1338380eeb816
Stats:     110 lines in 8 files changed: 42 ins; 49 del; 19 mod

8311843: GenShen: assertion failed "Old generation affiliated regions must be less than capacity"

Reviewed-by: kdnilsen

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

PR: https://git.openjdk.org/shenandoah/pull/311


More information about the shenandoah-dev mailing list