Replies: 1 comment
-
JDK 21 is about a month ahead from today - pretty much nearest future :)
Added a note in README. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems that ZGC doesn't support EnableJVMCI currently and will not support in nearest future
Env:
-XX:+UseZGC
It also seems like the support was added for non-generational zgc in java 21
Java 20:
bool JVMCIGlobals::gc_supports_jvmci() { return UseSerialGC || UseParallelGC || UseG1GC; }
Java 21:
bool JVMCIGlobals::gc_supports_jvmci() { return UseSerialGC || UseParallelGC || UseG1GC || (UseZGC && !ZGenerational); }
Are you aware of any workarounds?
Would it be worth to outline in docs that some gcs don't EnableJVMCI?
Beta Was this translation helpful? Give feedback.
All reactions