8242477: (bf) MappedByteBuffer should clarify copying between overlapping mappings

Brian Burkhalter brian.burkhalter at oracle.com
Mon Apr 13 16:54:21 UTC 2020


> On Apr 13, 2020, at 9:51 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
> 
> Ok.  I was wondering about the behavior of Unsafe.copySwapMemory.

I have tried this in a prototype patch for absolute bulk put and it does work but does not handle the view case described at least not without further effort.

> Buffers have a base + address that should be accessible for all kinds of buffer.

I’ll take another look.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200413/7665567a/attachment.htm>


More information about the nio-dev mailing list