RFR: 8364954: (bf) CleaningThread should be InnocuousThread [v2]

Liam Miller-Cushon cushon at openjdk.org
Thu Aug 7 15:42:57 UTC 2025


On Thu, 7 Aug 2025 13:36:25 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove '= null'
>
> src/java.base/share/classes/java/nio/BufferCleaner.java line 239:
> 
>> 237:     private static final CleanerList cleanerList = new CleanerList();
>> 238:     private static final ReferenceQueue<Object> queue = new ReferenceQueue<Object>();
>> 239:     private static Thread cleaningThread = null;
> 
> "= null" can be dropped.

Done

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26665#discussion_r2260711742


More information about the nio-dev mailing list