3 .dump 线上文件栈

[root@yszyz10a153 ~]# jmap -dump:live,format=b,file=heap201712.hropf  72947

参考:https://www.jianshu.com/p/3479f043bc68

性能分析之一个简单 Java 线程 dump 分析示例 - 掘金 (juejin.cn)

2. 火焰图分析CPU步骤 

# git clone https://github.com/brendangregg/FlameGraph 
# cd FlameGraph 
# perf record -F 99 -a -g -- sleep 60 
# perf script | ./stackcollapse-perf.pl | ./flamegraph.pl > out.svg
(13条消息) 性能分析之profiling及火焰图_巷中人的博客-CSDN博客

 1. 官方文档:

CPU Flame Graphs (brendangregg.com)

相关文章:

  • 2022-01-17
  • 2021-11-04
  • 2022-12-23
  • 2021-08-21
  • 2021-11-14
  • 2021-12-05
猜你喜欢
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2021-07-21
相关资源
相似解决方案