RFR: 8343704: Bad GC parallelism with processing Cleaner queues [v14]
Brent Christian
bchristi at openjdk.org
Thu Nov 21 17:56:18 UTC 2024
On Thu, 21 Nov 2024 07:11:00 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> test/micro/org/openjdk/bench/java/lang/ref/CleanerGC.java line 45:
>>
>>> 43:
>>> 44: // Deliberately a linked list to avoid exposing external parallelism to GC.
>>> 45: Target prev;
>>
>> Is `CleanerGC.prev` used?
>
> Yes. It maintains the root of a reachable linked list of `Target`-s.
Doesn't it get covered by the local `prev` in `setup()`? Should that be removed?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22043#discussion_r1852608976
More information about the core-libs-dev
mailing list