RFR: 8343704: Bad GC parallelism with processing Cleaner queues [v14]

Aleksey Shipilev shade at openjdk.org
Thu Nov 21 18:32:19 UTC 2024


On Thu, 21 Nov 2024 18:20:10 GMT, Brent Christian <bchristi at openjdk.org> wrote:

>> No. Local `prev` variable goes out of scope when `setup()` finishes, making the whole thing eligible for GC. We need something that keeps the list alive, like a benchmark object field, which `CleanerGC.prev` is.
>
> Sorry for being dense, but where is a value being set to `CleanerGC.prev` ?

Ah (facepalms), I see, I thought I assigned it! Damn. Let me fix and re-measure.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22043#discussion_r1852657935


More information about the core-libs-dev mailing list