[foreign-memaccess+abi] RFR: Improve NIO channel support for buffer views over segments [v3]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Apr 22 13:23:43 UTC 2021


On Thu, 22 Apr 2021 11:39:46 GMT, Chris Hegarty <chegar at openjdk.org> wrote:

>> Initial prototype changes to use resource scope handles when performing I/O operations with synchronous and asynchronous channels.
>
> Chris Hegarty has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Resolve outstanding TODO in MemoryScope spec

src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/ResourceScopeImpl.java line 144:

> 142: 
> 143:     @Override
> 144:     public final void release(ScopedMemoryAccess.Scope.Handle handle) {

Ugh - but I agree necessary

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

PR: https://git.openjdk.java.net/panama-foreign/pull/512


More information about the panama-dev mailing list