RFR: Remove young generation access to old generation mark queues earlier
Kelvin Nilsen
kdnilsen at openjdk.java.net
Mon Feb 28 23:53:26 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.
Marked as reviewed by kdnilsen (Committer).
-------------
PR: https://git.openjdk.java.net/shenandoah/pull/120
More information about the shenandoah-dev
mailing list