jvm生产环境启动参数

-XX:CICompilerCount=4

-XX:ConcGCThreads=2

-XX:G1HeapRegionSize=4194304

-XX:+HeapDumpOnOutOfMemoryError

-XX:HeapDumpPath=null

-XX:InitialHeapSize=8589934592

-XX:MarkStackSize=4194304

-XX:MaxGCPauseMillis=200

-XX:MaxHeapSize=8589934592

-XX:MaxNewSize=5150605312

-XX:MinHeapDeltaBytes=4194304

-XX:+PrintGC

-XX:+PrintGCTimeStamps

-XX:+UseCompressedClassPointers

-XX:+UseCompressedOops

-XX:+UseFastUnorderedTimeStamps

-XX:+UseG1GC
 -XX:+UseG1GC -Xmx8g -Xms8g

-XX:MaxGCPauseMillis=200 -Dfile.encoding=UTF-8 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000

-Xloggc:/data/xxx

-XX:+HeapDumpOnOutOfMemoryError

-XX:HeapDumpPath=/data/xxxxxx.hprof

-Djava.io.tmpdir=/data/commodity.operation/tmp/

-Duser.dir=/data/xxxxx -Djava.security.egd=file:/dev/./urandom

-Dorg.springframework.boot.logging.LoggingSystem=none

你可能感兴趣的:(java)