Java性能分析arthas

arthas

常用的命令:

  • thread -n x:找出cpu占用最大得n个线程
  • profiler start/stop:性能分析,并生成火焰图
  • monitor:监控函数调用次数、时间等
  • watch:详细观察函数调用 入出参数、成员变量等

Leave a Reply

Your email address will not be published. Required fields are marked *