CH-Abhinav opened a new pull request, #16497:
URL: https://github.com/apache/lucene/pull/16497

   ### Description
   GraalVM fully supports the Panama Vector API starting with JDK 25 (via 
oracle/graal#10285). Currently, `VectorizationProvider.java` unconditionally 
disables the vector incubator module when running on JVMCI 
(`Constants.IS_JVMCI_VM`).
   
   This PR updates the JVMCI check to evaluate `Runtime.version().feature() < 
25`, allowing GraalVM JDK 25+ runtimes to utilize hardware-accelerated 
vectorization instead of falling back to the scalar 
`DefaultVectorizationProvider`.
   
   ### Testing
   Ran `:lucene:core:test --tests "*VectorUtil*"` locally under Oracle GraalVM 
25 (`25+37.1`).
   * All 348 vector utility tests passed cleanly.
   * Confirmed `jdk.incubator.vector` module was loaded during execution.
   
   Closes #16317
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to