[foreign-memaccess] RFR: JDK-8242253: Clarify bulk of addresses backed by same storage
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Apr 7 19:06:21 UTC 2020
> On Apr 7, 2020, at 9:50 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
>
> This originated from discussions with ByteBuffer bulk copy and Florian (CC’ed) pointed this out, many thanks!.
I plan to revisit this soon.
> I’ll let Brian deal with the buffer cases.
OK.
>> 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?
Almost certainly but I’ve not actually tested it.
Brian
More information about the panama-dev
mailing list