Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Truffle 24.0.0 and Graal for JDK 22 #86

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

nirvdrum
Copy link
Contributor

@nirvdrum nirvdrum commented Mar 21, 2024

This updates Seafoam to process and simplify nodes coming from Graal for JDK 22 and Truffle 24.0+ languages.

Using this simple Ruby script as an example:

def foo
  3 + 10
end

loop { foo }

With TruffleRuby 24.0.0 and Seafoam 0.0.15, we get:

image

And with this PR and TruffleRuby 24.0.0, we get:

image

@nirvdrum nirvdrum force-pushed the graalvm-24.0.0-support branch from 139ccb9 to f3de931 Compare March 21, 2024 14:49
… GraalVM as well as GraalVM 24.0.0.

GraalVM renamed packages after merging with the OpenJDK project. The node search and match done by Seafoam is intentionally conservative in order to avoid accidentally matching nodes from a guest language. Consequently, the old logic would not work with the new package names. Now both are supported.

Additionally, the Truffle pass tests now run against each of the pre-generated GraalVM version graphs, instead of one hard-coded version.
@nirvdrum nirvdrum force-pushed the graalvm-24.0.0-support branch from f3de931 to 456f492 Compare March 21, 2024 14:56
@nirvdrum nirvdrum merged commit 623cd0a into main Mar 21, 2024
17 checks passed
@nirvdrum nirvdrum deleted the graalvm-24.0.0-support branch March 21, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant