Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Java 10 HotSpot Disassembly on macOS High Sierra
#!/bin/bash -e
# Download OpenJDK Reference Implementation Sources from
curl -O
# Navigate to the hsdis sources
cd openjdk/src/utils/hsdis
# Download binutils 2.26
curl -O
tar xzvf binutils-2.26.tar.gz
# Build hsdis
make BINUTILS=binutils-2.26 all64
# Install hsdis
sudo cp build/macosx-amd64/hsdis-amd64.dylib /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.