Last active
May 11, 2019 01:26
-
-
Save phase/e6f3a381e923a86551408caff738d158 to your computer and use it in GitHub Desktop.
Downloads RedHat's fork of JDK11 with the Shenandoah GC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p /usr/lib/java-sgc/ | |
| cd /usr/lib/java-sgc/ | |
| PWD=$(pwd) | |
| curl https://builds.shipilev.net/openjdk-shenandoah-jdk11/openjdk-shenandoah-jdk11-latest-linux-x86_64-release.tar.xz -o shenandoah.tar.xz | |
| tar xvf ./shenandoah.tar.xz | |
| ${PWD}/jdk/bin/java -XX:+UseShenandoahGC -Xlog:gc -version | |
| ln -s ${PWD}/jdk/bin/java /usr/bin/java-sgc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go to the directory you want to install Shenandoah & run:
and then run
java-sgcwith the-XX:+UseShenandoahGCflag. You can test it with this:Note from Roman Kennke: