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

Aleksey Shipilev shade at openjdk.org
Fri Nov 15 19:26:56 UTC 2024


On Fri, 15 Nov 2024 17:55:30 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Do not need -ea -esa in tests, our testing infra adds them already
>
> src/java.base/share/classes/jdk/internal/ref/CleanerImpl.java line 356:
> 
>> 354: 
>> 355:             // Linked list structure.
>> 356:             Node prev;
> 
> The prev link seems only ever written but never read.  This can be a singly-linked list, I believe.

Right! Removed `prev`.

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

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


More information about the core-libs-dev mailing list