8242477: (bf) MappedByteBuffer should clarify copying between overlapping mappings
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Apr 13 15:42:40 UTC 2020
> On Apr 11, 2020, at 4:23 AM, Florian Weimer <fw at deneb.enyo.de> wrote:
>
> In principle, this also applies to direct buffer created via JNI's
> NewDirectByteBuffer. Such direct buffers could alias with each other
> or even MappedByteBuffer instances.
Indeed. And in an even simpler case, two different views of the same direct buffer could produce unexpected results with a relative bulk put from one into the other.
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200413/0ea87cc5/attachment.htm>
More information about the nio-dev
mailing list