RFR: 8229044: G1RedirtyCardsQueueSet should be local to a collection
Thomas Schatzl
thomas.schatzl at oracle.com
Sat Aug 3 19:10:17 UTC 2019
Hi,
On 03.08.19 01:43, Kim Barrett wrote:
> Please review this change to the use of G1RedirtyCardsQueueSet.
> Rather than a singleton instance in the G1CollectedHeap that is reused
> by each collection pause, we now (stack) allocate one for use by the
> current collection pause.
>
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8229044
>
> Webrev:
> http://cr.openjdk.java.net/~kbarrett/8229044/open.00/
>
> Testing:
> mach5 tier1-5
looks good. Thanks.
I was wondering whether at some point we should extract all transient GC
state coupled with the actual algorithms applied into a separate class.
But that's probably something for the future :)
Thomas
More information about the hotspot-gc-dev
mailing list