-
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
Disable C2 for GraalVM as well in dev mode by default #45483
Conversation
Let's wait for @zakkak 's feedback. |
Status for workflow
|
I don't see anything wrong with this. @aloubyansky what prevented you from setting this option with graalvm in the first place? FWIW when using GraalVM (but not the Mandrel build) C2 is replaced by the Graal JIT compiler, so you are essentially disabling that instead of C2. cc @galderz |
I think the initial logic was implemented by @geoand, there must have been a reason. This category of options is not guaranteed to be working across versions and vendors, so it's brittle by definition. |
Back in the day you couldn't turn off C2 in GraalVM - or at least that's what I seen empirically |
I tested it with GraalVM 17 and 21.