Table A-3 GC Data File and Allocation Site Statistics Locations By Command
Option Selection
| JVM Option(s) Used | Action Used | Resulting Data Location |
|---|
| -Xverbosegc and -XX:+PrintAllocStatistics | No special action | Standard out |
| -Xverbosegc:myfile.vgc and -XX:+PrintAllocStatistics | No special action | myfile.vgc |
| -XX:+PrintAllocStatistics | No special action | Standard out |
| No special option | kill -21 pid | java_pid.vgc |
| -XX:+PrintAllocStatistics | kill -21 pid | java_pid.vgc |
| -Xverbosegc and -XX:+PrintAllocStatistics | kill -21 pid | Standard
out |
| -Xverbosegc:myfile.vgc and -XX:+PrintAllocStatistics | kill -21 pid | myfile.vgc |
| -Xverbosegc | kill
-21 pid | Standard
out |
| -Xverbosegc:myfile.vgc | kill -21 pid | myfile.vgc |