删除 -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection
-XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection
删除-XX:-UseParNewGC
-XX:-UseParNewGC
删除-XX:+PrintGCDetails
-XX:+PrintGCDetails
修改-Xloggc->Xlog:gc
-Xloggc
Xlog:gc
还有一个配置是-XX:+PrintGCDateStamps,我的在执行上面四步仍然启动失败,报错是由于这个配置,不懂是干啥的,直接删除
-XX:+PrintGCDateStamps