As I know, most modern Java JVM-JITMs do not support automatic vectorization or just do it for very simple loops, so you're out of luck.
In the implementation of Mono.NET was Mono.Simdfor the manual emission of vector code, and then MS introduced System.Numeric.Vectors. Unfortunately, in Java there is nothing similar. I don’t know if the Java vector class is vectorized using SIMD or not, but I don’t think so.
, AVX, - JNI. C C++ Java
Scala - JVM, JVM 40
:
API
, jdk.incubator.vector, , , , , .
https://openjdk.java.net/jeps/338
: