DTrace asm profiler for Mac OS X

Aleksey Shipilev shade at redhat.com
Mon Jan 22 19:05:14 UTC 2018


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