Skip to content

Instantly share code, notes, and snippets.

@jasontedor
Created May 22, 2017 20:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasontedor/9818f07c564c1df04f3a2ffdd4395b50 to your computer and use it in GitHub Desktop.
Save jasontedor/9818f07c564c1df04f3a2ffdd4395b50 to your computer and use it in GitHub Desktop.
Building the HotSpot Disassembly library from source
./clone-jdk8.sh # see https://gist.github.com/jasontedor/a1a38cfa646c186b8736#file-clone-jdk8-sh
cd hotspot/src/share/tools/hsdis
curl -L -O http://ftp.heanet.ie/mirrors/gnu/binutils/binutils-2.26.tar.gz
tar xf binutils-2.26.tar.gz
make BINUTILS=binutils-2.26 ARCH=amd64
sudo cp ./build/macosx-amd64/hsdis-amd64.dylib $JAVA_HOME/jre/lib/server/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment