The JEP History of Vector API
- JEP 338: Vector API (Incubator) JDK 16
- JEP 414: Vector API (Second Incubator) JDK 17
- JEP 417: Vector API (Third Incubator) JDK 18
- JEP 426: Vector API (Fourth Incubator) JDK 19
- JEP 438: Vector API (Fifth Incubator) JDK 20
- JEP 448: Vector API (Sixth Incubator) JDK 21
- JEP 460: Vector API (Seventh Incubator) JDK 22
- JEP 469: Vector API (Eighth Incubator)JDK 23
- JEP 489: Vector API (Ninth Incubator) JDK 24
“The Vector API will incubate until necessary features of Project Valhalla become available as preview features. At that time, we will adapt the Vector API and its implementation to use them, and will promote the Vector API from incubation to preview.”
SIMD(Single Instruction, Multiple Data) instruction
Streaming SIMD Extensions (SSE)
Advanced Vector Extensions(AVX)
mvn clean package -DskipTests && \
java -Xmx32g \
--add-modules=jdk.incubator.vector \
-classpath /d/coding/hello-vector-api/target/classes \
org.feuyeux.vector.HelloVector1234 ms
1030 ms
1055 ms
