RFR: 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator [v4]

Chen Liang liach at openjdk.org
Tue Sep 19 08:49:45 UTC 2023


On Tue, 19 Sep 2023 06:33:08 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR proposes to make fields of implementations of the interface `DirectByteBuffer.Deallocator` `final` ensuring safe publication and immutability.
>
> Per Minborg has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Make unmappers truly immutable
>  - Revert to anonymous UmapperProxy class

Nice cleanup.

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

Marked as reviewed by liach (Author).

PR Review: https://git.openjdk.org/jdk/pull/15784#pullrequestreview-1632740593


More information about the nio-dev mailing list