-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Stop relying on native-image
's-H:
options
#27784
Comments
Quoting related discussion from oracle/graal#4862 (comment)
|
Yes I remember seeing some substantial benefits from it - but it's been a while, I wouldn't know if they are still applicable. IMO it has value to have specific configuration knobs, such as Rather than removing these just because they are "at risk" of being removed upstream, we could add integration tests to cover for their existance? So we'd know if they are indeed removed and we can amend or document the changes as necessary. |
We can still ensure the same visibility for such configuration knobs in a different manner.
I see this as an orthogonal issue and agree that anything we mention in the docs would be nice to be tested using some integration test. WDYT? |
Honestly I don't see much value in migrating away from the existing options. What's the point - are we actually terrified that some of these might cease to exist? |
I wouldn't say "terrified", but there is indeed chance they might cease to exist (we have seen it happen with other options in the past, see the
Not necessarily, there is no such commitment from upstream Graal. Non-API code (including parameters) may change anytime without notice.
That's true, but we have seen it happen for other options (see the |
Well ok if you badly want to change this, feel free to go ahead and explore that option; personally I'm not too concerned and would hope you don't spend too much time on it. |
What's the status of this? |
Personally, I'm not sure we can realistically remove reliance on those |
I agree with @jerboaa . What about we close this issue and keep it as an ongoing goal to try to avoid using |
+1 for me to what you propose @Sanne |
Description
native-image
options starting with-H:
are internal and subject to change without notice. As a result we should avoid using them where possible.Quarkus currently uses the following options:
Relates to #25943
Implementation ideas
Some of these can be replaced with their respective
--
prefixed option (which is done in #27783). For the rest we need to reconsider whether they are still applicable/make-sense and see if it would make sense to ask the GraalVM team to make them API options (aka prefixed with--
instead of-H:
)The text was updated successfully, but these errors were encountered: