1. 程式人生 > >JVM列印gc的內容及日誌解釋

JVM列印gc的內容及日誌解釋

0.077: [GC 0.077: [DefNew: 1364K->437K(4928K), 0.0017301 secs]
0.079: [Tenured: 8704K->949K(10944K), 0.1680245 secs] 9556K->949K(15872K), 
[Perm : 141K->141K(12288K)], 0.1698671 secs] [Times: user=0.00 sys=0.00, real=0.17 secs] 
0.249: [Full GC (System) 0.249: [Tenured: 9141K->9142K(10944K), 0.0032902 secs] 9320K->9142K(15936K), 
[Perm : 141K->141K(12288K)], 0.0033866 secs] [Times: user=0.00 sys=0.00, real=0.00 secs] 
Heap
 def new generation   total 6912K, used 122K [0x22cb0000, 0x23430000, 0x28200000)
  eden space 6144K,   2% used [0x22cb0000, 0x22ccebf0, 0x232b0000)
  from space 768K,   0% used [0x232b0000, 0x232b0000, 0x23370000)
  to   space 768K,   0% used [0x23370000, 0x23370000, 0x23430000)
 tenured generation   total 15240K, used 9142K [0x28200000, 0x290e2000, 0x32cb0000)
   the space 15240K,  59% used [0x28200000, 0x28aed808, 0x28aeda00, 0x290e2000)
 compacting perm gen  total 12288K, used 141K [0x32cb0000, 0x338b0000, 0x36cb0000)
   the space 12288K,   1% used [0x32cb0000, 0x32cd37a0, 0x32cd3800, 0x338b0000)
    ro space 10240K,  45% used [0x36cb0000, 0x37137290, 0x37137400, 0x376b0000)
    rw space 12288K,  54% used [0x376b0000, 0x37d3ace8, 0x37d3ae00, 0x382b0000)