[foreign-memaccess] RFR: 8253355: Add some overloads to memory access API [v2]
Jorn Vernee
jvernee at openjdk.java.net
Fri Sep 18 12:31:35 UTC 2020
On Fri, 18 Sep 2020 12:28:09 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> This patch adds two overload:
>>
>> * MemoryAddress::asSegmentRestricted which takes an Object attachment
>> * MemorySegment::asSlice which takes a MemoryAddress base and a new length
>>
>> These overloads make the API slightly more usable.
>
> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>
> Address review comments
> Fix impl issue with attachment not being propagated
Marked as reviewed by jvernee (Committer).
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/341
More information about the panama-dev
mailing list