[crac] Integrated: Ensure empty Reference Handler and Cleaners queues
Anton Kozlov
akozlov at openjdk.java.net
Tue Feb 1 13:13:39 UTC 2022
On Mon, 31 Jan 2022 11:45:25 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
> At the time of checkpoint, a set of References may need handling. This change ensures no References pending in ReferenceHandler and in Cleaners.
>
> System.gc() is a best effort attempt to make GC to look for References. Default VM flags (-DisableExplicitGC, -ExplicitGCInvokesConcurrent) should not block the call, but additional investigation is needed to make sure GC found all references.
This pull request has now been integrated.
Changeset: 9cf19956
Author: Anton Kozlov <akozlov at openjdk.org>
URL: https://git.openjdk.java.net/crac/commit/9cf1995693eead85d3807fb4c83ab38c14e27042
Stats: 130 lines in 5 files changed: 128 ins; 0 del; 2 mod
Ensure empty Reference Handler and Cleaners queues
Reviewed-by: heidinga
-------------
PR: https://git.openjdk.java.net/crac/pull/13
More information about the crac-dev
mailing list