Integrated: Start young collect instead of old if mixed evacuations are pending

William Kemper wkemper at openjdk.java.net
Wed May 18 17:56:22 UTC 2022


On Wed, 18 May 2022 16:24:49 GMT, William Kemper <wkemper at openjdk.org> wrote:

> This change addresses a race condition in which the heuristic could start an old gc while there are pending mixed evacuations. This condition could lead to a crash because the nascent old gen collect will clear the mark bitmap, but the remembered set scan of the bootstrap collection will use the mark bitmap to find objects if it believes mixed evacuations are in progress.

This pull request has now been integrated.

Changeset: 5473b079
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.java.net/shenandoah/commit/5473b0791974077e47ebad400e537b7f5e920912
Stats:     12 lines in 2 files changed: 11 ins; 1 del; 0 mod

Start young collect instead of old if mixed evacuations are pending

Reviewed-by: kdnilsen

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

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


More information about the shenandoah-dev mailing list