Places we should use the new ByteBuffer intrinsics

Ulf Zibis Ulf.Zibis at CoSoCo.de
Thu Apr 16 21:54:14 UTC 2015


Am 16.04.2015 um 15:25 schrieb Paul Sandoz:
> They look like good candidates. I did a quick search in the JDK src code (usages of getByte/Short/Int/Long) and could not find any others.

I guess there are plenty of candidates in coders of sun.nio.cs.
At the end it wouldn't make me wonder if we could get rid of the "if (src.hasArray())"-fork.

-Ulf




More information about the core-libs-dev mailing list