RFR: 8358537: (bf) JavaNioAccess::getBufferAddress bypasses direct buffer MemorySession state check [v2]

Brian Burkhalter bpb at openjdk.org
Wed Jun 4 14:29:14 UTC 2025


On Wed, 4 Jun 2025 09:00:44 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> It could be. More study is clearly needed. This is related to #25531.
>
> I added this test to ensure that memory segments allocated from any Arena could be used with the synchronous channels. It shouldn't be changed.
> 
> It may be that further work is required on the asynchronous channels, I will take a closer look.

Test change reverted in [7e6c05a](https://github.com/openjdk/jdk/pull/25631/commits/7e6c05add2e47bf4ef59af6753d4e85d9aa058f2).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25631#discussion_r2126741663


More information about the nio-dev mailing list