'no assembly is recorded'

Claes Redestad claes.redestad at oracle.com
Fri Dec 28 14:44:41 UTC 2018


Hi,

you might have missed the following in the JMH output:

ERROR: No address lines detected in assembly capture, make sure your JDK 
is PrintAssembly-enabled:
     https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly

Basically you need to install the hsdis plugin into your JDK to
successfully use -prof perfasm (and you shouldn't have to manually
add any flags when you do this)

HTH

/Claes

On 2018-12-27 21:24, Сергей Цыпанов wrote:
> Hi,
> 
> I tried to use LinuxPerfAsmProfiler to view the hottest assembly code,
> both -XX:+UnlockDiagnosticVMOptions and -XX:+PrintAssembly we added but I got this output
> 
> Hottest code regions (>10,00% "cycles" events):
> 
> ....[Hottest Region 1]..............................................................................
> perf-25250.map, [unknown] (224 bytes)
> 
>   <no assembly is recorded, native region>
> ....................................................................................................
>   48,99%  <total for region 1>
> 
> ....[Hottest Region 2]..............................................................................
> perf-25250.map, [unknown] (75 bytes)
> 
>   <no assembly is recorded, native region>
> ....................................................................................................
>   46,55%  <total for region 2>
> 
> ....[Hottest Regions]...............................................................................
>   48,99%      perf-25250.map  [unknown] (224 bytes)
>   46,55%      perf-25250.map  [unknown] (75 bytes)
>    0,30%           libjvm.so  SpinPause (9 bytes)
>    0,21%              kernel  [unknown] (0 bytes)
>    0,15%           libjvm.so  _ZN22ParallelTaskTerminator17offer_terminationEP20TerminatorTerminator (0 bytes)
> 
> 
> I suspect something is missing from my config, but I cannot guess what exactly.
> 
> Regards,
> Sergey Tsypanov
> 


More information about the jmh-dev mailing list