性能分析
jcmd命令
解锁
jcmd 11504 VM.unlock_commercial_features
开启
jcmd 11504 JFR.start name=endless settings=profile delay=3s duration=0 compress=true
检测
jcmd 11504 JFR.check
生成文件
jcmd 11504 JFR.dump recording=1 filename="./shcrmserver.jfr" compress=true
停止
jcmd 11504 JFR.stop recording=1
再用jmc工具来查看