GCViewer
GCViewer copied to clipboard
Errors when uploading Jre1.7 G1 Log
We want to review Java 1.7 and 1.8 G1 logs. I get errors when uploading a log file with typical G1 data. Curious that the program says the format is Sun 1.6.x G1 Collector when it is 1.7.
INFO [DataReaderFacade]: GCViewer version 1.35-SNAPSHOT (2015-07-29T22:20:05+0200) INFO [DataReaderFactory]: File format: Sun 1.6.x G1 collector INFO [DataReaderSun1_6_0G1]: Reading Sun 1.6.x / 1.7.x G1 format... WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '? region size' Line 3: ? region size 1024K, 102 young (104448K), 0 survivors (0K) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'compacting perm gen? total' Line 4: compacting perm gen? total 524288K, used 11717K [0x00000007d0c00000, 0x00000007f0c00000, 0x0000000800000000) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '?? the space' Line 5: ?? the space 524288K,?? 2% used [0x00000007d0c00000, 0x00000007d1771618, 0x00000007d1771800, 0x00000007f0c00000) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.ParseException: java.lang.ArrayIndexOutOfBoundsException: 28 Line 6: No shared spaces configured. WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '? region size' Line 54: ? region size 1024K, 102 young (104448K), 13 survivors (13312K) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'compacting perm gen? total' Line 55: compacting perm gen? total 524288K, used 26605K [0x00000007d0c00000, 0x00000007f0c00000, 0x0000000800000000) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '?? the space' Line 56: ?? the space 524288K,?? 5% used [0x00000007d0c00000, 0x00000007d25fb628, 0x00000007d25fb800, 0x00000007f0c00000) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.ParseException: java.lang.ArrayIndexOutOfBoundsException: 28 Line 57: No shared spaces configured. WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '? region size' Line 106: ? region size 1024K, 102 young (104448K), 13 survivors (13312K) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'compacting perm gen? total' Line 107: compacting perm gen? total 524288K, used 34744K [0x00000007d0c00000, 0x00000007f0c00000, 0x0000000800000000) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '?? the space' Line 108: ?? the space 524288K,?? 6% used [0x00000007d0c00000, 0x00000007d2dee050, 0x00000007d2dee200, 0x00000007f0c00000) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.ParseException: java.lang.ArrayIndexOutOfBoundsException: 28 Line 109: No shared spaces configured. WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '? region size' Line 159: ? region size 1024K, 102 young (104448K), 13 survivors (13312K) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'compacting perm gen? total' Line 160: compacting perm gen? total 524288K, used 38281K [0x00000007d0c00000, 0x00000007f0c00000, 0x0000000800000000) WARNING [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '?? the space' Line 161: ?? the space 524288K,?? 7% used [0x00000007d0c00000, 0x00000007d3162468, 0x00000007d3162600, 0x00000007f0c00000)
Hi,
Probably, the gc log contains quite a few mixed lines, that seem to represent the concurrency of the G1 algorithm. Only some of them can be handled by GCViewer, the others generate these warnings. To be able to analyse your case better, I'd need a sample log file (you may send it to [email protected] - please refer to this issue number).
Best regards, Jörg