You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
On both GraalVM CE and EE builds of JDK 23 (both on Windows and Linux), enabling ZGC will cause JVMCI to be disabled (JIT disabled). On snapshots with Java 25 it seems to go away, but I need Java 23 for some compatibility reason. This also seems to happen on Java 21 (LTS) Steps to reproduce the issue
Run JVM with the following arguments: -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler -XX:+EagerJVMCI -XX:+UseZGC --version
Reports EnableJVMCI set to false:
> ./java.exe -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler -XX:+EagerJVMCI -XX:+UseZGC --version
[0.003s][warning][gc,jvmci] Setting EnableJVMCI to false as selected GC does not support JVMCI: z gc
java 23.0.2 2025-01-21
Java(TM) SE Runtime Environment Oracle GraalVM 23.0.2+7.1 (build 23.0.2+7-jvmci-b01)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 23.0.2+7.1 (build 23.0.2+7-jvmci-b01, mixed mode)
Describe GraalVM and your environment:
GraalVM version (latest snapshot builds can be found here), or commit id if built from source: EE 23.0.2+7.1, CE 23.0.2+7.1
JDK major version: 23 / 21
OS: Windows 11 24H2 / Linux (Arch Linux)
Architecture: AMD64
The text was updated successfully, but these errors were encountered:
Hi, Thank you for reporting this, you shared that this issue happens as well on JDK21, can you share the exact version you've tested?
I tested with Oracle GraalVM for JDK 21.0.6 on Windows machine and do not see this issue
Hi, Thank you for reporting this, you shared that this issue happens as well on JDK21, can you share the exact version you've tested? I tested with Oracle GraalVM for JDK 21.0.6 on Windows machine and do not see this issue
Oh I forgot a detail. Non-generational ZGC seems to be fine on JDK 21, but if I add the extra parameter -XX:+ZGenerational the problem shows up again. I think this happens on JDK 23 because Generational ZGC has become the default over non-generational one?
I have also tested with Oracle GraalVM 23.0.2+7.1, if I use ./java.exe -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler -XX:+EagerJVMCI -XX:+UseZGC -XX:-ZGenerational --version to turn off generational ZGC, JVMCI become normal again.
Describe the issue
On both GraalVM CE and EE builds of JDK 23 (both on Windows and Linux), enabling ZGC will cause JVMCI to be disabled (JIT disabled). On snapshots with Java 25 it seems to go away, but I need Java 23 for some compatibility reason. This also seems to happen on Java 21 (LTS)
Steps to reproduce the issue
-XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler -XX:+EagerJVMCI -XX:+UseZGC --version
false
:Describe GraalVM and your environment:
The text was updated successfully, but these errors were encountered: