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
Is there a way to display graal version easily from java #2305
Comments
When using the GraalVM compiler in the JDK, there is no version other than the JDK version available. This is because the version in the JDK is frozen at some point after which it is disjoint from the GraalVM sources. |
Yes, understood. Two idea here :
|
The JBS issues for synchronizing Graal into the JDK all have the title "Update Graal". There is (or should be) a tag in the Graal repo for each of these closed issues (e.g. https://github.com/oracle/graal/releases/tag/JDK-8238355). So if you find the most recent Update Graal issue with a Fix Version denoting the JDK you're interested in, then you will know which version of Graal is in that JDK. |
Ok but a simple command line option would not be easier ? A kind of "graal.ShowVersion" ? Or use an existing switch like "graal.ShowConfiguration := verbose" and add in the output the release number ? Sounds like an easy to do improvement that would greatly simply the works |
There was discussion about a separate versioning Graal in JDK and the decision was to not do that. Recording a tag (or hash) for some intermittent Graal changes which were integrated into JDK release will not help - it will create more confusion. |
As of today, no new variable in the JVMCI properties shows the version of GraalVM. However, you can get (parse) the version of GraalVM from the |
Is there a way to display the version of graal from java command line ?
What about a graal.ShowVersion that would display the graal version ?
Something like 19.3.1
The text was updated successfully, but these errors were encountered: