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 10ms10 milliseconds, which makes is it suitable for applications which require requiring low latency and/or use a very large heap.  You should pay attention to It should be noted that ZGC requires more processor resources compared to than CMS GC.

Example installation of installing of ZGC with OpenJDK version 12:

1. Download the latest release of OpenJDK 12 from URL http://jdk.java.net/12/:

Code Block
languagebash
themeRDark
wget https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz

2. Extract the OpenJDK archive to the folder and move its contents to the working directory:

...