RFC: 5029431: (bf) Add absolute bulk put and get methods

Brian Burkhalter brian.burkhalter at oracle.com
Tue Oct 16 19:15:35 UTC 2018



> On Oct 16, 2018, at 12:14 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 16/10/2018 20:06, Brian Burkhalter wrote:
>> 
>> One thing I noticed in the non-direct relative bulk methods is that surprisingly System.arraycopy() is not used when hasArray() returns true.
>> 
> I checked HeapByteBuffer and it is generated to arraycopy in the relative bulk op but maybe you mean a different case?

In X-Buffer.java.template. I did not look at HeapByteBuffer.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20181016/7d956d0e/attachment.html>


More information about the nio-dev mailing list