[foreign-memaccess] RFR: JDK-8242253: Clarify bulk of addresses backed by same storage
Paul Sandoz
paul.sandoz at oracle.com
Tue Apr 7 16:50:00 UTC 2020
Thanks.
This originated from discussions with ByteBuffer bulk copy and Florian (CC’ed) pointed this out, many thanks!. I’ll let Brian deal with the buffer cases.
Paul.
> On Apr 7, 2020, at 2:42 AM, Maurizio Cimadamore <mcimadamore at openjdk.java.net> wrote:
>
> On Tue, 7 Apr 2020 01:25:52 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>
>> Here is a small tweak to the specification of `MemoryAddress.copy` when source and target address ranges do not
>> overlap, but there are overlapping regions of the same backing storage.
>
> Well spotted - I suspect MappedByteBuffer have a similar issue?
>
> -------------
>
> Marked as reviewed by mcimadamore (Committer).
>
> PR: https://git.openjdk.java.net/panama-foreign/pull/101
More information about the panama-dev
mailing list