Integrated: Remove young generation access to old generation mark queues earlier

William Kemper wkemper at openjdk.java.net
Tue Mar 1 00:16:45 UTC 2022


On Mon, 28 Feb 2022 23:34:54 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Prior to this change, we removed access to the old generation mark queues if (and only if) the old generation cycle completed. However, in some cases, the old generation cycle may be interrupted _after_ it has finished marking but _before_ it has finished preparing for mixed collections. This error may cause young generation cycles to enqueue old objects into the old generation mark queues that may become invalid as mixed collections execute. With this change, we remove access to old generation mark queues as soon as old generation marking is complete.

This pull request has now been integrated.

Changeset: b54dca1e
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.java.net/shenandoah/commit/b54dca1e029135985509e926346b38d3ee0a0c3c
Stats:     8 lines in 2 files changed: 5 ins; 3 del; 0 mod

Remove young generation access to old generation mark queues earlier

Reviewed-by: kdnilsen

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

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


More information about the shenandoah-dev mailing list