Integrated: Coalesce and fill objects immediately after final mark

William Kemper wkemper at openjdk.java.net
Tue Feb 1 22:49:38 UTC 2022


On Tue, 1 Feb 2022 22:06:17 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Before this change, an allocation failure during a global concurrent cycle _after_ final mark would resume the degenerate cycle for evacuation. However, the degenerated cycle cleans up unmarked old objects during the marking phase. This scenario would leave pointers from unmarked objects into reclaimed memory and could lead to a crash when scanning the remembered set.

This pull request has now been integrated.

Changeset: 006e14e4
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.java.net/shenandoah/commit/006e14e4f83fadefad8d3f5353fe5e41db2c7028
Stats:     10 lines in 1 file changed: 6 ins; 4 del; 0 mod

Coalesce and fill objects immediately after final mark

Reviewed-by: kdnilsen

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

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


More information about the shenandoah-dev mailing list