Skip to content

Commit da9ed5a

Browse files
authored
Re-enable SIMD operations on JDK 24 (#125484)
1 parent 9ec61d5 commit da9ed5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/simdvec/src/main21/java/org/elasticsearch/simdvec/internal/vectorization/ESVectorizationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static ESVectorizationProvider getInstance() {
3636
static ESVectorizationProvider lookup(boolean testMode) {
3737
final int runtimeVersion = Runtime.version().feature();
3838
assert runtimeVersion >= 21;
39-
if (runtimeVersion <= 23) {
39+
if (runtimeVersion <= 24) {
4040
// only use vector module with Hotspot VM
4141
if (Constants.IS_HOTSPOT_VM == false) {
4242
logger.warn("Java runtime is not using Hotspot VM; Java vector incubator API can't be enabled.");

0 commit comments

Comments
 (0)