[foreign-memaccess] RFR: JDK-8242253: Clarify bulk of addresses backed by same storage

Brian Burkhalter brian.burkhalter at oracle.com
Thu Apr 9 22:01:14 UTC 2020


Created https://bugs.openjdk.java.net/browse/JDK-8242477 to cover the equivalent verbiage in MappedByteBuffer.

Brian

> On Apr 7, 2020, at 12:06 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
> 
>> 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 <mailto:mcimadamore at openjdk.java.net>> wrote:
>>> 
>>> On Tue, 7 Apr 2020 01:25:52 GMT, Paul Sandoz <psandoz at openjdk.org <mailto: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.



More information about the panama-dev mailing list