DTrace asm profiler for Mac OS X

Henri Tremblay henri.tremblay at gmail.com
Mon Jan 22 20:05:34 UTC 2018


Even better :-)

On 22 January 2018 at 14:05, Aleksey Shipilev <shade at redhat.com> wrote:

> On 01/22/2018 07:59 PM, Henri Tremblay wrote:
> > I confirm. It works perfectly. This is awesome!
> >
> > So, the only thing that I could complain about is the error message:
> >
> > ERROR: No address lines detected in assembly capture, make sure your JDK
> is PrintAssembly-enabled:
> >     https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly
> > <https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly>
> >
> > It's on the wiki but the way it's phrased, I was thinking
> +PrintAssembly. And nothing else. I will
> > suggest this:
> >
> > ERROR: No address lines detected in assembly capture. Make sure your JDK
> is properly configured to
> > print assembly. For details, see the link below
> >     https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly
> > <https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly>
>
> Not really actionable, I think. How about this one?
>
> ERROR:  No address lines detected in assembly capture. Make sure your JDK
> is properly configured to
> print generated assembly. The most probable cause for this failure is that
> hsdis is not available,
> or resides at the wrong path within the JDK. Try to run the JDK in
> question with -XX:+PrintAssembly
> and simple non-JMH program. For details, see the link below:
>   https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly
>
> -Aleksey
>
>


More information about the jmh-dev mailing list