Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b44MquEzmd9QMkZCd7
21 lines
715 B
Plaintext
21 lines
715 B
Plaintext
# ZGC: the non-generational mode is gone, and what 28 adds
|
|
|
|
## JDK 25: ask for the old mode
|
|
$ java -XX:+UseZGC -XX:-ZGenerational -version
|
|
OpenJDK 64-Bit Server VM warning: Ignoring option ZGenerational; support was removed in 24.0
|
|
openjdk version "25.0.5.1" 2026-11-17 LTS
|
|
|
|
## JDK 25: plain ZGC
|
|
collector MXBeans : ZGC Minor Cycles | ZGC Minor Pauses | ZGC Major Cycles | ZGC Major Pauses
|
|
|
|
## ZGC flags present on 28 early access but not on 27 (diff of -XX:+PrintFlagsFinal -XX:+UseZGC, names only)
|
|
only on 28:
|
|
ZAdaptiveHeapSizing
|
|
ZGCIntensity
|
|
ZMemoryHeating
|
|
only on 27:
|
|
|
|
## its default on 28
|
|
size_t SoftMaxHeapSize = 1449551462 {manageable} {ergonomic}
|
|
bool ZAdaptiveHeapSizing = false {product} {default}
|