Withdrawn: 8324972: (bf) Make DirectByteBuffer.Deallocator idempotent

Per Minborg pminborg at openjdk.org
Mon Feb 19 15:02:00 UTC 2024


On Wed, 31 Jan 2024 08:41:05 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to make deallocators and unmappers for memory regions idempotent. This is to prevent (likely very rare) duplicate invocations. 
> 
> There are no unit tests but it should be noted that the idempotent behavior (now correct) is similar to the  intended behavior before cf74b8c2a32f33019a13ce80b6667da502cc6722 but where idempotency was not guaranteed in a multi-threaded environment.
> 
> Passes tier1, 2, and 3 tests.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/17647


More information about the nio-dev mailing list