Integrated: Fix verifier handling of weak references when scanning the remembered set
William Kemper
wkemper at openjdk.java.net
Tue May 25 21:58:54 UTC 2021
On Wed, 19 May 2021 22:02:11 GMT, William Kemper <wkemper at openjdk.org> wrote:
> In some use cases, `ShenandoahVerifier` is required to _ignore_ weak references (because they will be processed concurrently). Because of the way the remembered set scan handles oops, it must use an `OopIterateClosure` (not a bare `OopClosure`). To make use of the `OopClosure` passed to the remembered set scanner, it was wrapped in an "adapter" that sheared off the `ShenandoahIgnoreReferenceDiscoverer` configured on the passed in closure. This change removes the need to use such an adapter during the verifier's root scan.
This pull request has now been integrated.
Changeset: fff87a60
Author: William Kemper <wkemper at openjdk.org>
URL: https://git.openjdk.java.net/shenandoah/commit/fff87a60f33d60690a9335982738d968f3b9e1ab
Stats: 13 lines in 4 files changed: 5 ins; 0 del; 8 mod
Fix verifier handling of weak references when scanning the remembered set
Reviewed-by: zgu, rkennke
-------------
PR: https://git.openjdk.java.net/shenandoah/pull/41
More information about the shenandoah-dev
mailing list