-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[GR-47922] Enforce -H:±UnlockExperimentalVMOptions in CI.
#7709
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
Conversation
|
Hi @fniephaus, although this makes sense as the next step we still see 3rd party libraries using experimental VM options, e.g. netty/netty#13595 and neo4j/neo4j-java-driver#1498, so I expect significant disruption if this goes in now. I am afraid that would possibly force frameworks to just pass |
|
Furthermore I don't see the PR resolving the "Bug fixes and improvements" and "API changes" parts of #7370 is that intentional are they resolved in separate PRs? |
|
Hey @zakkak, are you suggesting that we enforce unlocking in a later release of GraalVM? The JDK 22 release is half a year away from the JDK 21 release (that's where we introduced |
They will be resolved in separate PRs. |
Not necessarily, I would suggest delaying the merge of the PR for the time being to see how the ecosystem adapts. We still have enough time for the code freeze, right?
In that case it would make more sense to merge those PRs first, no? |
Sure, code freeze is in December, and the freeze is much longer (3 months as opposed to one month). Keep in mind that doing this now will only affect end-users that use a dev build.
It depends. On #7370, we said that enabling this has the highest priority. |
(stable options must be in the SVM package for the driver to detect them correctly).
d7a0951 to
706b1cd
Compare
-H:±UnlockExperimentalVMOptions.-H:±UnlockExperimentalVMOptions in CI.
706b1cd to
4ae86f7
Compare
|
I have adjusted this PR so that it doesn't change the behavior just yet. Instead, we use |
This PR sets
NATIVE_IMAGE_EXPERIMENTAL_OPTIONS_ARE_FATAL=truein CI to ensure that gates are properly unlocking experimental options. The PR also adjusts various mx/CI infrastructure bits and fixes a bug in the unlocking mechanism itself.