资 源 简 介
A console based tiny program that reads a gc.log input and generates text based visualization.
Typical usage :
tail -f gc.log | java -jar gc-console.jar
Then with this gc.log contents,
# tail gc.log0.938: [GC [PSYoungGen: 15761K->680K(101952K)] 15761K->680K(1034048K), 0.0097960 secs]0.948: [Full GC [PSYoungGen: 680K->0K(101952K)] [PSOldGen: 0K->617K(932096K)] 680K->617K(1034048K) [PSPermGen: 6705K->6705K(32768K)], 0.0390980 secs]1.019: [GC [PSYoungGen: 1748K->168K(101952K)] 2365K->785K(1034048K), 0.0007470 secs]1.019: [Full GC [PSYoungGen: 168K->0K(101952K)] [PSOldGen: 617K->721K(932096K)] 785K->721K(1034048K) [PSPermGen: 6788K->6788K(32768K)], 0.0387480 secs]1.086: [GC [PSYoungGen: 1748K->144K(101952K)] 2469K->865K(1034048K), 0.0006680 secs]1.087: [Full GC [PSYoungGen: 144K->0K(101952K)] [PSOldGen: 721K->823K(932096K)] 865K->823K(1034048K) [PSPermGen: 6792K->6792K(32768K)], 0.0372560 secs]1.162