2回复
4年前
jvm很多参数
待查询的参数
-Djava.util.logging.config.file=/usr/local/apache-tomcat-8.5.29/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Xms8000m
-Xmx8000m
-Xmn2000m
-Xss512k
-XX:MetaspaceSize=684m
-XX:MaxMetaspaceSize=684m
-XX:+UseConcMarkSweepGC
-XX:+UseCMSCompactAtFullCollection
-XX:CMSMaxAbortablePrecleanTime=5000
-XX:+CMSClassUnloadingEnabled
-XX:+UseCMSInitiatingOccupancyOnly
-XX:CMSInitiatingOccupancyFraction=80
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/mnt/jvm/logs/gc/java.hprof
-verbose:gc
-Xloggc:/mnt/jvm/logs/gc/gc.log
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+PrintClassHistogram
-XX:+PrintHeapAtGC
-Djava.awt.headless=true
-Dsun.net.client.defaultConnectTimeout=10000
-Dsun.net.client.defaultReadTimeout=30000
-XX:+DisableExplicitGC
-Djdk.tls.ephemeralDHKeySize=2048
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Dignore.endorsed.dirs=
-Dcatalina.base=/usr/local/apache-tomcat-8.5.29
-Dcatalina.home=/usr/local/apache-tomcat-8.5.29
-Djava.io.tmpdir=/usr/local/apache-tomcat-8.5.29/temp
各位大神这些标红的是不是都要优化
这些该怎么优化,有点搞不懂
3097 阅读