RFR: 8344332: (bf) Migrate DirectByteBuffer to use java.lang.ref.Cleaner [v9]
Aleksey Shipilev
shade at openjdk.org
Thu Jan 23 08:51:38 UTC 2025
On Wed, 22 Jan 2025 20:35:49 GMT, Brent Christian <bchristi at openjdk.org> wrote:
>> Aleksey Shipilev has updated the pull request incrementally with three additional commits since the last revision:
>>
>> - No instantiation for BufferCleaner, javadocs
>> - Remove hasReferencePendingList
>> - Revert test exclusion, moved to JDK-8348301
>
> src/java.base/share/classes/java/lang/ref/Reference.java line 286:
>
>> 284: {
>> 285: synchronized (processPendingLock) {
>> 286: if (processPendingActive || hasReferencePendingList()) {
>
> It looks like `hasReferencePendingList()` is no longer used.
Right, we can clean this up right here too. Done in new commit.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22165#discussion_r1926586148
More information about the core-libs-dev
mailing list