Skip to content

Support JDK 26 in Panama Vectorization Provider - #16257

Merged
ChrisHegarty merged 2 commits into
apache:mainfrom
ChrisHegarty:jdk26_vec
Jun 15, 2026
Merged

Support JDK 26 in Panama Vectorization Provider#16257
ChrisHegarty merged 2 commits into
apache:mainfrom
ChrisHegarty:jdk26_vec

Conversation

@ChrisHegarty

Copy link
Copy Markdown
Contributor

This commit updates the Vectorization Provider to support JDK 26. The API has not changed so the changes minimally bump the major JDK check, and enable the incubating API during testing.

JDK 26 reached General Availability on 17 March 2026.

I tested locally with:

export RUNTIME_JAVA_HOME=/Users/chegar/binaries/jdk-26.jdk/Contents/Home/
export JAVA_HOME=/Users/chegar/binaries/jdk-25.jdk/Contents/Home/
CI=true ./gradlew check -Ptests.vectorsize="default" -Ptests.forceintegervectors=false

similar to what we did for previous JDK versions, see #15157

@github-actions github-actions Bot added this to the 11.0.0 milestone Jun 15, 2026
@ChrisHegarty ChrisHegarty modified the milestones: 11.0.0, 10.5.0 Jun 15, 2026
@github-actions github-actions Bot modified the milestones: 10.5.0, 11.0.0 Jun 15, 2026

@uschindler uschindler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's long overdue! Thanks!

@ChrisHegarty
ChrisHegarty merged commit 2cafe24 into apache:main Jun 15, 2026
13 checks passed
@ChrisHegarty ChrisHegarty modified the milestones: 11.0.0, 10.5.0 Jun 15, 2026
@ChrisHegarty
ChrisHegarty deleted the jdk26_vec branch June 15, 2026 12:40
gaobinlong pushed a commit to gaobinlong/lucene that referenced this pull request Jun 17, 2026
mfussenegger added a commit to crate/crate that referenced this pull request Jun 17, 2026
The current Lucene version doesn't use panama vector implementations if
running under JDK 26 which can affect performance negatively.

Can revert this after the next Lucene update that includes apache/lucene#16257
vijaykriishna pushed a commit to vijaykriishna/lucene that referenced this pull request Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants