Java / Java 11
What is the Z Garbage Collector (ZGC) in Java 11?
ZGC is a low-pause collector that keeps pause times in the millisecond range as heaps grow. Enable it with -XX:+UseZGC on supported JDKs.
The Z Garbage Collector (ZGC) is a scalable low latency garbage collector. ZGC performs all expensive work concurrently, without stopping the execution of application threads for more than 10ms, which makes it suitable for applications that require low latency and/or use a very large heap (multi-terabytes).
The Z Garbage Collector is available as an experimental feature and is enabled with the command-line options -XX:+UnlockExperimentalVMOptions -XX:+UseZGC.
More Related questions...