1、jvm通过代理链接外网
-Dhttp.proxyHost=10.10.10.10 \
-Dhttp.proxyPort=8080 \
-Dhttp.proxyUser=username \
-Dhttp.proxyPassword=password \
-Dhttp.nonProxyHosts="localhost|127.0.0.1|10.*.*.*|*.example.com|etc"
2、jvm gc日志输出
-verbose:gc \
-XX:+DisableExplicitGC \
-Xloggc:${LOG_DIR}/gc-%t.out \
-XX:NumberOfGCLogFiles=3 \
-XX:GCLogFileSize=100M \
-XX:+PrintGCDetails \
-XX:+PrintGCDateStamps \
-XX:+PrintGCApplicationStoppedTime
3、jvm
-XX:+UseG1GC \
-XX:+UseContainerSupport \
-XX:MaxRAMPercentage=75.0 \
-XX:+UseStringDeduplication \
-XX:+AlwaysPreTouch \
-XX:AutoBoxCacheMax=20000