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

Chris Hegarty chegar at openjdk.java.net
Thu Apr 22 13:38:42 UTC 2021


On Thu, 22 Apr 2021 13:19:46 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> 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

Ugh! is right :-) I don't particularly like this, but its a temporary, private, necessary evil, which will eventually go away.

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

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


More information about the panama-dev mailing list