1、使用arthas工具分析2、java -jar arthas.jar pid3、profiler start 开启采样4、profiler stop --format html # 3. 停止采样并生成HTML格式的火焰图