8219014: (bf) Add absolute bulk put methods which accept a source Buffer

Paul Sandoz paul.sandoz at oracle.com
Wed Feb 12 22:43:13 UTC 2020


I’ll let Brian decide on that from the perspective of Buffers, given IIRC it does not mention anything about overlapping regions.

However, the incubating memory segment API does:

  https://hg.openjdk.java.net/jdk/jdk/file/tip/src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemoryAddress.java#l98 <https://hg.openjdk.java.net/jdk/jdk/file/tip/src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemoryAddress.java#l98>

We can capture something here first.  My preference is an api note.  Care to propose something?

Paul.

> On Feb 11, 2020, at 9:34 AM, Florian Weimer <fweimer at redhat.com> wrote:
> 
> * Paul Sandoz:
> 
>> Thanks for the clarification. I see what you are getting at now.  
>> 
>> Yes, under those aliased circumstances there is not much we can do.
>> All we can talk about is overlapping regions in virtual memory.
> 
> Is there a way to capture this in the specification?
> 
> Thanks,
> Florian
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200212/06cb6739/attachment.htm>


More information about the nio-dev mailing list