1. 参数:
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder
2. 运行命令:
jcmd <PID> JFR.start name=test duration=60s settings=template.jfc filename=output.jfr
参考:
https://www.cnblogs.com/duanxz/p/8533797.html
1. 参数:
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder
2. 运行命令:
jcmd <PID> JFR.start name=test duration=60s settings=template.jfc filename=output.jfr
参考:
https://www.cnblogs.com/duanxz/p/8533797.html