RFR: 8271215: Fix data races in G1PeriodicGCTask

Ivan Walulya iwalulya at openjdk.java.net
Sat Jul 24 10:40:06 UTC 2021

On Sat, 24 Jul 2021 09:02:24 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this small change to G1PeriodicGCTask, eliminating unlikely
> but possible data races with a concurrently running GC pause.  An STS-joiner
> is used to ensure there isn't a GC pause while doing the checks to decide
> whether to perform a periodic GC.
> Testing:
> mach5 tier1

Marked as reviewed by iwalulya (Committer).


PR: https://git.openjdk.java.net/jdk/pull/4899

More information about the hotspot-gc-dev mailing list