| Option | Description |
-verbose:gc | Turns on various forms of gc statistics gathering. |
-XX:+PrintGCTimeStamps | Prints the times at which the GCs happen relative to the start of the application. (available beginning in J2SE? 1.4.0) |
-XX:+PrintGCDetails | Gives details about the GCs (available beginning in J2SE? 1.4.0) |
-Xincgc | Use Train GC (Java 1.4 and earlier) or Concurrent Mark Sweep collector (Java 5+) |
-Xnoincgc | Do not use Train Garbage Collection (default) |
-XX:MaxHeapFreeRatio=<Maximum> | Maximum percentage of heap free after GC to avoid shrinking (default 70) |
-XX:MinHeapFreeRatio=<Minimum> | Minimum percentage of heap free after GC to avoid expansion (default 40) |
-Xmn<Size> | Set the size of the young generation (available beginning in J2SE? 1.4.0) |
-XX:+UseParallelGC | Use parallel garbage collection (available beginning in J2SE? 1.4.1) |
-XX:+UseConcMarkSweepGC | Use concurrent garbage collector (available beginning with J2SE? 1.4.1) |
-XX:MaxPermSize=64m | Size of the Permanent Generation |
-XX:-PrintTenuringDistribution | Print tenuring age information |
-XX:TargetSurvivorRatio=50 | Desired percentage of survivor space used after scavenge |
-XX:MaxTenuringThreshold=## | Need details |
-XX:SurvivorRatio=## | Need details |
-XX:-DisableExplicitGC | Disable calls to System.gc(), JVM still performs garbage collection when necessary |