jvm 参数详解(Mark)

下面帖子推荐集群配置如下:

https://blog.csdn.net/maijiyouzou/article/details/23740225

1. JVM_OPTS="-server -verbose:gc

  -XX:+PrintGCDateStamps
  -XX:+PrintGCDetails
  -XX:+UseGCLogFileRotation
  -XX:NumberOfGCLogFiles=9
  -XX:GCLogFileSize=256m
  -XX:+DisableExplicitGC
  -XX:+UseCompressedOops
  -XX:SoftRefLRUPolicyMSPerMB=0
  -XX:+UseFastAccessorMethods
  -XX:+UseParNewGC
  -XX:+UseConcMarkSweepGC
  -XX:+CMSParallelRemarkEnabled
  -XX:CMSInitiatingOccupancyFraction=70
  -XX:+UseCMSCompactAtFullCollection
  -XX:CMSFullGCsBeforeCompaction=0
  -XX:+CMSClassUnloadingEnabled
  -XX:CMSMaxAbortablePrecleanTime=301
  -XX:+CMSScavengeBeforeRemark
  -XX:PermSize=160m
  -XX:GCTimeRatio=19
  -XX:SurvivorRatio=2

  -XX:MaxTenuringThreshold=100"

2. 帖子https://blog.csdn.net/bbaiggey/article/details/50885943 对JVM 启动参数做了详解。

猜你喜欢

转载自blog.csdn.net/don_chiang709/article/details/80938684