Am 28.02.2014 23:29, schrieb Martin Buchholz:
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?I see DirectByteBuffer, but not garden-variety ByteBuffer, using Unsafe. share/classes/java/nio/Direct-X-Buffer.java.template Probably should be investigated using disassembly of jitted code, which I have never done.
See also: https://bugs.openjdk.java.net/browse/JDK-6914113 -Ulf