jvm 烈焰图生成

1. 下载压缩包: https://github.com/jvm-profiling-tools/async-profiler

2. 配置探针: 

java -agentpath:/root/build/libasyncProfiler.so=start,svg,file=profile.svg -jar spring-petclinic-2.3.1.BUILD-SNAPSHOT.jar

3. 找到profile.svg, 用浏览器打开

原文地址:https://www.cnblogs.com/lzmrex/p/14290562.html