Unsafe: efficiently comparing two byte arrays

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Feb 28 22:48:01 UTC 2014


On 03/01/2014 02:29 AM, Martin Buchholz wrote:
> Are word-size reads in ByteBuffer actually intrinsified?  I could find no
> evidence for that.  Perhaps this is an important missing optimization for
> hotspot to make?

It is a missing optimization, and we will get to that:
 https://bugs.openjdk.java.net/browse/JDK-8026049

-Aleksey.




More information about the core-libs-dev mailing list