RFR: 8271215: Fix data races in G1PeriodicGCTask

Kim Barrett kbarrett at openjdk.java.net
Mon Jul 26 14:23:07 UTC 2021


On Sat, 24 Jul 2021 10:37:30 GMT, Ivan Walulya <iwalulya 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).

Thanks @walulyai and @shipilev for reviews.

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

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


More information about the hotspot-gc-dev mailing list