优化CentOS上Java应用启动速度可从以下方面入手:
-Xms
-Xmx
-XX:UseG1GC
-Xshare:on
vm.swappiness
net.ipv4.tcp_tw_reuse
-XX:PrintGCDetails
-Xloggc
具体优化需结合应用场景,在测试环境验证后实施。