Skip to content

Instantly share code, notes, and snippets.

@dineshbhagat
Last active September 20, 2019 16:35
Show Gist options
  • Save dineshbhagat/7cfd4a654726e670e9b10751eb9554ae to your computer and use it in GitHub Desktop.
Save dineshbhagat/7cfd4a654726e670e9b10751eb9554ae to your computer and use it in GitHub Desktop.

openjdk-shenandoah-jdk11

Get builds from here: https://builds.shipilev.net/

if it is not found for your platform, you can build it from source:

For macosx:

Download source code from here

follow steps

mkdir shenandoah;
cd shenandoah;
# size is usually ~ 180MB
wget http://hg.openjdk.java.net/shenandoah/jdk11/archive/tip.tar.gz;
sh ./configure;
make images;
jdk11-6e0bd7ffab09/build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.5.jdk/Contents/Home/bin/java -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -version

output:

openjdk version "11.0.5-internal" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5-internal+0-adhoc.<machine-username-where-image-was-build>.jdk11-6e0bd7ffab09)
OpenJDK 64-Bit Server VM (build 11.0.5-internal+0-adhoc.<machine-username-where-image-was-build>.jdk11-6e0bd7ffab09, mixed mode)

Ref:
http://clojure-goes-fast.com/blog/shenandoah-in-production/

https://shipilev.net/#shenandoah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment