mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-01-18 23:13:53 +00:00
Update flags as of 5/2/2020 (#534)
This commit is contained in:
parent
b271b529ea
commit
ede58d9159
1 changed files with 5 additions and 4 deletions
|
@ -135,24 +135,25 @@ if isTrue "${USE_AIKAR_FLAGS}"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
JVM_XX_OPTS="${JVM_XX_OPTS}
|
JVM_XX_OPTS="${JVM_XX_OPTS}
|
||||||
-XX:+UseG1GC -XX:+ParallelRefProcEnabled
|
-XX:+UseG1GC
|
||||||
|
-XX:+ParallelRefProcEnabled
|
||||||
-XX:MaxGCPauseMillis=200
|
-XX:MaxGCPauseMillis=200
|
||||||
-XX:+UnlockExperimentalVMOptions
|
-XX:+UnlockExperimentalVMOptions
|
||||||
-XX:+DisableExplicitGC
|
-XX:+DisableExplicitGC
|
||||||
-XX:-OmitStackTraceInFastThrow
|
|
||||||
-XX:+AlwaysPreTouch
|
-XX:+AlwaysPreTouch
|
||||||
-XX:G1NewSizePercent=${G1NewSizePercent}
|
-XX:G1NewSizePercent=${G1NewSizePercent}
|
||||||
-XX:G1MaxNewSizePercent=${G1MaxNewSizePercent}
|
-XX:G1MaxNewSizePercent=${G1MaxNewSizePercent}
|
||||||
-XX:G1HeapRegionSize=${G1HeapRegionSize}
|
-XX:G1HeapRegionSize=${G1HeapRegionSize}
|
||||||
-XX:G1ReservePercent=${G1ReservePercent}
|
-XX:G1ReservePercent=${G1ReservePercent}
|
||||||
-XX:G1HeapWastePercent=5
|
-XX:G1HeapWastePercent=5
|
||||||
-XX:G1MixedGCCountTarget=8
|
-XX:G1MixedGCCountTarget=4
|
||||||
-XX:InitiatingHeapOccupancyPercent=${InitiatingHeapOccupancyPercent}
|
-XX:InitiatingHeapOccupancyPercent=${InitiatingHeapOccupancyPercent}
|
||||||
-XX:G1MixedGCLiveThresholdPercent=90
|
-XX:G1MixedGCLiveThresholdPercent=90
|
||||||
-XX:G1RSetUpdatingPauseTimePercent=5
|
-XX:G1RSetUpdatingPauseTimePercent=5
|
||||||
-XX:SurvivorRatio=32
|
-XX:SurvivorRatio=32
|
||||||
|
-XX:+PerfDisableSharedMem
|
||||||
-XX:MaxTenuringThreshold=1
|
-XX:MaxTenuringThreshold=1
|
||||||
-Dusing.aikars.flags=true
|
-Dusing.aikars.flags=https://mcflags.emc.gs
|
||||||
-Daikars.new.flags=true
|
-Daikars.new.flags=true
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue