clintropolis commented on issue #8116: remove unnecessary lock in 
ForegroundCachePopulator leading to a lot of contention
URL: https://github.com/apache/incubator-druid/pull/8116#issuecomment-513418908
 
 
   >Pretty flamegraph, what did you use to capture/generate it?
   
   This was sampled and the flame graph generated with [swiss java 
knife](https://github.com/aragozin/jvm-tools)
   
   sample:
   ```
   java -jar sjk.jar stcap -p <pid> -o historical-dump-1.std -t 30s
   ```
   
   flame graph:
   ```
   java -jar sjk.jar flame -f historical-dump-1.std -o historical-report-1.html
   ```
   
   which spits out that html page you can interact with. The flame graph 
generation can also apparently work with VisualVM and flight recorder output as 
well, but I haven't tried it (just encountered this tool this week).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to