JVM Flags: Remove SurvivorRatio and MaxTenuringThreshold since the defaults are good with new JVMs, closes #1672.
This commit is contained in:
parent
43809211d4
commit
70de95373c
|
@ -37,9 +37,7 @@ REM set JAVA_OPTS=%JAVA_OPTS% -XX:+AggressiveOpts
|
|||
|
||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseParNewGC
|
||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC
|
||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+CMSParallelRemarkEnabled
|
||||
set JAVA_OPTS=%JAVA_OPTS% -XX:SurvivorRatio=8
|
||||
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxTenuringThreshold=1
|
||||
|
||||
set JAVA_OPTS=%JAVA_OPTS% -XX:CMSInitiatingOccupancyFraction=75
|
||||
set JAVA_OPTS=%JAVA_OPTS% -XX:+UseCMSInitiatingOccupancyOnly
|
||||
|
||||
|
|
|
@ -35,9 +35,7 @@ JAVA_OPTS="$JAVA_OPTS -Xss128k"
|
|||
|
||||
JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC"
|
||||
JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC"
|
||||
JAVA_OPTS="$JAVA_OPTS -XX:+CMSParallelRemarkEnabled"
|
||||
JAVA_OPTS="$JAVA_OPTS -XX:SurvivorRatio=8"
|
||||
JAVA_OPTS="$JAVA_OPTS -XX:MaxTenuringThreshold=1"
|
||||
|
||||
JAVA_OPTS="$JAVA_OPTS -XX:CMSInitiatingOccupancyFraction=75"
|
||||
JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
|
||||
|
||||
|
|
Loading…
Reference in New Issue