Integrated: Fix handling of weak references during verification

William Kemper wkemper at openjdk.java.net
Wed Sep 15 17:12:57 UTC 2021


On Tue, 14 Sep 2021 23:39:13 GMT, William Kemper <wkemper at openjdk.org> wrote:

> This is fallout from our last big merge from upstream. When verifying reachable objects before evacuation during final mark, concurrent reference processing hasn't happened yet. For this reason, verification is required to ignore weak references which hold an unmarked referent (that would be cleared during reference processing). In our last merged, we inadvertently disabled the code to ignore weak references during certain verification phases.

This pull request has now been integrated.

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

Fix handling of weak references during verification

Reviewed-by: kdnilsen, rkennke

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

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


More information about the shenandoah-dev mailing list