Skip to content

Support for JDK25.0.2 and migrate Graal compiler version to 25.0.2#798

Open
mikepapadim wants to merge 82 commits intodevelopfrom
jdk25
Open

Support for JDK25.0.2 and migrate Graal compiler version to 25.0.2#798
mikepapadim wants to merge 82 commits intodevelopfrom
jdk25

Conversation

@mikepapadim
Copy link
Member

@mikepapadim mikepapadim commented Feb 11, 2026

This PR migrates TornadoVM to JDK25 and Graal Compiler to 25.0.2.

To dos:

  • OpenCL Backend
  • PTX Backend
  • SPIRV Backend
  • CI to handle both 21 & 25
  • Double release protocol
  • Double release protocol -> Maven
  • Double release protocol -> SDKMAN

MVP: Testing and migration matrix:

Backend JDK 25.0.2 + Graal 25.0.2 GraalVM 25.0.2 Status Notes
OpenCL ✅ Migrated ✅ Migrated Complete All tests passing
PTX ✅ Migrated ✅ Migrated Complete All tests passing
SPIRV ✅ Migrated ✅ Migrated Complete All tests passing

Backend JDK 25.0.2 + Graal 25.0.2 GraalVM 25.0.2 Eclipse Temurin 25.0.2 Red Hat Mandrel 25.0.2 Amazon Corretto 25.0.2 Microsoft JDK 25.0.2 Azul Zulu 25.0.2 Notes
OpenCL Done
PTX TBD
SPIR-V TBD

mikepapadim and others added 30 commits January 30, 2026 14:43
…k.graal.compiler` equivalents for compatibility and clarity
… field objects

PTXArrayWrapper.setBuffer() threw shouldNotReachHere(), breaking the
contiguous allocation scheme introduced in the previous commit. Mirror
the OCL pattern: add a second constructor that pre-computes bufferSize
from the actual array, implement setBuffer/toBuffer/getBufferOffset with
offset tracking, and pass array data from CUDAFieldBuffer constructor.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… ensuring local array nodes are added to the graph
mikepapadim and others added 21 commits February 16, 2026 17:34
…drivers/opencl/graal/compiler/plugins/OCLGraphBuilderPlugins.java
Use the simpler jdk25 convention for public-facing identifiers
(version suffixes, tags, branches, SDKMAN names) while keeping
the actual JDK installation path (jdk-25.0.2) unchanged.

Convention: 3.0.0-jdk25-opencl (not 3.0.0-jdk25.0.2-opencl)

https://claude.ai/code/session_01KgRUkKnY8htra4Ctkamsey
Copy link
Collaborator

@mairooni mairooni left a comment

Choose a reason for hiding this comment

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

Some minor comments

@CLAassistant
Copy link

CLAassistant commented Feb 19, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 4 committers have signed the CLA.

✅ stratika
✅ mikepapadim
❌ claude
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

graal-update Update the Graal JIT compiler jdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants