Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Z Garbage Collector (ZGC) is a scalable low latency garbage collector for Java 12. ZGC performs all expensive work concurrently, without stopping the execution of application threads for more than 10 milliseconds, which makes it suitable for applications requiring low latency and/or use a very large heap. It should be noted that ZGC requires more processor resources than CMS GC.

Here is the example of ZGC setup using OpenJDK 12:

1. Install JDK OpenJDK 12 or 14 as described here

2. Verify your Java installation:

...