CMS jvm flags详解

 -XX:+PrintGCDetails

-XX:+PrintGCTimeStamps

-XX:+PrintGCApplicationConcurrentTime

-XX:+PrintGCApplicationStoppedTime

-Xloggc:/home/appSes/ses/oper/gc.log

-XX:+DoEscapeAnalysis

-XX:CMSFullGCsBeforeCompaction=2

-XX:GCTimeRatio=19

-XX:+UseCMSInitiatingOccupancyOnly

-XX:CMSInitiatingOccupancyFraction=65

-XX:+CMSScavengeBeforeRemark

-XX:ParallelCMSThreads=12

-XX:CMSAbortablePrecleanWaitMillis=50

-XX:+CMSClassUnloadingEnabled

-XX:+CMSConcurrentMTEnabled

-XX:CMSMarkStackSize=2M

-XX:CMSMarkStackSizeMax=8M

-XX:+ParallelRefProcEnabled

-Xms20g -Xmx20g -Xmn512m

-XX:ParallelGCThreads=14

-XX:MaxPermSize=96m

-Dsun.rmi.dgc.client.gcInterval=7200000

-Dsun.rmi.dgc.server.gcInterval=7200000

-XX:+UseFastAccessorMethods

-XX:-UseFastEmptyMethods

-XX:+UseFastJNIAccessors

-XX:+UseConcMarkSweepGC

-XX:+UseParNewGC

-Xnoclassgc

-XX:+DisableExplicitGC

-XX:+UseCMSCompactAtFullCollection

-XX:+CMSParallelRemarkEnabled 

posted @ 2020-09-30 14:00  软件匠工  阅读(236)  评论(0编辑  收藏  举报