On Sat, Sep 19, 2009 at 11:43 AM, John Rose <john.r...@sun.com> wrote:
> Indeed:  Google "hotspot disassembler", or look at these links:
>
>   http://wikis.sun.com/display/HotSpotInternals/PrintAssembly
>   http://kenai.com/projects/base-hsdis
>
> It's a separate plugin rather than a built-in feature, for reasons of
> history and software ownership.  But having a plugin at that point is
> actually a pretty powerful hook.

I finally gave this a try and it seriously only took three steps to install:

1. Download the binaries linked from the first link (hosted on Kenai).
Only OS X and Solaris are there (someone should contrib a linux one)
2. Copy to JDK7/jre/lib/i386/client and /server as libhsdis-i386.{so|dylib}
3. Run with -XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly

I'm looking at fib output right now :)

- Charlie
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to