Integrated: 8271215: Fix data races in G1PeriodicGCTask

Kim Barrett kbarrett at openjdk.java.net
Mon Jul 26 14:27:09 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

This pull request has now been integrated.

Changeset: f2c359a8
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f2c359a8826e51a92f6a7c6917f2c3d223c24488
Stats:     4 lines in 1 file changed: 4 ins; 0 del; 0 mod

8271215: Fix data races in G1PeriodicGCTask

Reviewed-by: iwalulya, shade

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

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



More information about the hotspot-gc-dev mailing list