RFR: 8264762: ByteBuffer.byteOrder(BIG_ENDIAN).asXBuffer.put(Xarray) and ByteBuffer.byteOrder(nativeOrder()).asXBuffer.put(Xarray) are slow

Brian Burkhalter bpb at openjdk.java.net
Mon Apr 26 17:24:27 UTC 2021


On Mon, 26 Apr 2021 13:43:43 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> In passing, I see we have an inconsistency with the ordering of the index and whether is read-only buffer, we might want to adjust that at some point so that have consistency behavior when both conditions arise.

I think you mean the ordering of the check on the indices and whether the buffer is read-only, correct?

-------------

PR: https://git.openjdk.java.net/jdk/pull/3660


More information about the nio-dev mailing list