JVM测试 jstat命令: Java的jstat命令使用详解 jstat -gcutil vmid jinfo命令: jinfo vmid Xms为2G,而Xmx约为30G jmap命令: jmap -heap vmid 串行GC ,Serial GC Concurrent Mark-Sweep GC :CMS回收器 Mark Sweep Compact GC: 串行GC(Serial GC) Parallel GC with 2 thread(s): 并行GC(ParNew)