March 2019
Intermediate to advanced
242 pages
6h 21m
English
Working with ZGC involves multiple steps. You should install the JDK binary, which is specific to Linux/x64, and build and start it. You can use the following commands to download ZGC and build it on your system:
$ hg clone http://hg.openjdk.java.net/jdk/jdk $ cd zgc $ sh configure --with-jvm-features=zgc $ make images
After execution of the preceding commands, you can find the JDK root directory in the following location:
g./build/linux-x86_64-normal-server-release/images/jdk
Java tools, such as java, javac, and others can be found in the /bin subdirectory of the preceding path (its usual location).
Let's create a basic HelloZGC class, ...
Read now
Unlock full access