Integrated: 8271215: Fix data races in G1PeriodicGCTask

Kim Barrett kbarrett at
Mon Jul 26 14:27:09 UTC 2021

On Sat, 24 Jul 2021 09:02:24 GMT, Kim Barrett <kbarrett at> 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

This pull request has now been integrated.

Changeset: f2c359a8
Author:    Kim Barrett <kbarrett at>
Stats:     4 lines in 1 file changed: 4 ins; 0 del; 0 mod

8271215: Fix data races in G1PeriodicGCTask

Reviewed-by: iwalulya, shade



More information about the hotspot-gc-dev mailing list