ByteBuffer performance issue in Java 9?
Andrew Haley
aph at redhat.com
Tue Mar 14 09:58:31 UTC 2017
On 14/03/17 09:25, Uwe Schindler wrote:
> * As there is a larger slowdown if Lucene uses the MMapDirectory
> implementation on Java 9 in comparison to Java 8, we should really
> look into the issues! So Andrew Haley is right, there is some
> slowdown not only affecting HeapByteBuffers! Maybe it is caused by
> missing vectorization or because the code calling the ByteBuffers is
> much more complicated than Andrew’s tests, Hotspot is failing to
> properly optimize the access to DirectByteBuffer, too.
I'm happy to look at this, but you'll have to provide me with some
sort of test case. "Read the Lucene manual. Install this server."
probably isn't such a test case.
Andrew.
More information about the jdk9-dev
mailing list