-Xms |
The initial heap size, the default physical memory 1/64 |
-Xms512M |
-Xmx |
The maximum heap size, physical memory by default 1/4 |
-Xms2G |
-Xmn |
The new generation of memory size, the official recommendation for the entire heap 3/8 |
-Xmn512M |
-Xss |
Thread stack size, jdk1.5 after the default and 1M, before the default 256k |
-Xss512k |
-XX:NewRatio=n |
Setting the ratio of the new generation and old generation. Such as: 3, showing the young generation to the old generation ratio of 1: 3, the total the young generation and the young generation older generations 1/4 |
-XX:NewRatio=3 |
-XX:SurvivorRatio=n |
Eden area ratio of the two regions Survivor younger generation. Note that there are two Survivor areas. Such as: 8, showing Eden: Survivor = 8: 1: 1, the total area Survivor a young generation 1/8 |
-XX:SurvivorRatio=8 |
-XX:PermSize=n |
Permanent substituting the initial value, a default physical memory 1/64 |
-XX:PermSize=128M |
-XX:MaxPermSize=n |
Maximum permanent generation of default physical memory 1/4 |
-XX:MaxPermSize=256M |
-verbose:class |
Loaded in the console print category |
|
-verbose:gc |
Print garbage collection in the console log |
|
-XX:+PrintGC |
Print GC logs, simple content |
|
-XX:+PrintGCDetails |
Print GC logs, detailed |
|
-XX:+PrintGCDateStamps |
GC log in to add a timestamp |
|
-Xloggc:filename |
Gc log path specified |
-Xloggc:/data/jvm/gc.log |
-XX:+UseSerialGC |
Set the young generation serial collector Serial |
|
-XX:+UseParallelGC |
The young generation is set parallel collector Parallel Scavenge |
|
-XX:ParallelGCThreads=n |
Set the number of CPU use when collecting Parallel Scavenge. Parallel to collect the number of threads. |
-XX:ParallelGCThreads=4 |
-XX:MaxGCPauseMillis=n |
Parallel Scavenge recovery set maximum time (ms) |
-XX: MaxGCPauseMillis = 100 |
-XX:GCTimeRatio=n |
Set Parallel Scavenge garbage collection time as a percentage of the program running time. Formula 1 / (1 + n) |
-XX:GCTimeRatio=19 |
-XX:+UseParallelOldGC |
Provided on behalf of the elderly collector parallel collector ParallelOld |
|
-XX:+UseConcMarkSweepGC |
Setting years old concurrent collector CMS |
|
-XX:+CMSIncrementalMode |
CMS collector is provided as the incremental mode, the case for a single CPU. |
|