Skip to content

a10y/hsdis-macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

hsdis macOS

hsdis is a plugin for the HotSpot Oracle JVM that allows you to print out the assembly of JIT'ed calls.

I built the artifact in this repo using binutils 2.28.

Instructions for installing are below.

Installation: JDK 1.8

cd $JAVA_HOME/jre/lib/server
wget https://raw.githubusercontent.com/a10y/hsdis-macos/master/hsdis-amd64.dylib

Installation: JDK 1.9

cd $JAVA_HOME/lib/server
wget https://raw.githubusercontent.com/a10y/hsdis-macos/master/hsdis-amd64.dylib

Usage

Assuming we have classfile Main.class present, a simple usage that works on JDK 1.8 and 1.9:

java -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly Main

About

macOS Build artifacts for hsdis HotSpot Plugin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages