也想出现在这里?点击联系我~ shell技术:动态开启jvm的gc日志 代码演示 # 开启gc日志 jinfo -flag +PrintGCDetails <pid> # 查看gc情况 jstat -gcutil <pid> 1000