RFR: 8324972: (bf) Make DirectByteBuffer.Deallocator idempotent [v4]
Alan Bateman
alanb at openjdk.org
Thu Feb 15 12:15:53 UTC 2024
On Thu, 15 Feb 2024 11:55:55 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
> I've nothing to add other than to re-iterate if https://bugs.openjdk.org/browse/JDK-8316337 is made based on thread safety, then it needs to take into account the idempotent release of the underlying native memory as per the original logic. Otherwise base on your assertions the https://bugs.openjdk.org/browse/JDK-8316337 was not required
JDK-8316337 was about visibility and safe publication, it didn't introduce a way for the cleaning action to run more than once. I think we can close 8324972 and this PR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17647#issuecomment-1945977876
More information about the nio-dev
mailing list