Description
Hi,
I am using ZGC on jdk-11 and the gc-log files don't parse correctly. I get:
INFO [DataReaderFacade]: GCViewer version 1.36-SNAPSHOT (2018-10-23T20:08:13+0000)
INFO [DataReaderFactory]: File format: Oracle / OpenJDK unified jvm logging
INFO [DataReaderUnifiedJvmLogging]: Reading Oracle / OpenJDK unified jvm logging format...
INFO [DataReaderUnifiedJvmLogging]: Using The Z Garbage Collector
WARNING [DataReaderUnifiedJvmLogging]: Failed to parse gc event (com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'Garbage Collection (Warmup)') on line number 12 (line="[0,595s][info][gc ] GC(0) Garbage Collection (Warmup) 116M(11%)->102M(10%)")
WARNING [DataReaderUnifiedJvmLogging]: Failed to parse gc event (com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'Garbage Collection (Warmup)') on line number 23 (line="[1,048s][info][gc ] GC(1) Garbage Collection (Warmup) 208M(20%)->164M(16%)")
WARNING [DataReaderUnifiedJvmLogging]: Failed to parse gc event (com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'Garbage Collection (Warmup)') on line number 34 (line="[2,070s][info][gc ] GC(2) Garbage Collection (Warmup) 402M(39%)->494M(48%)")
WARNING [DataReaderUnifiedJvmLogging]: Failed to parse gc event (com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'Garbage Collection (Allocation Rate)') on line number 45 (line="[3,167s][info][gc ] GC(3) Garbage Collection (Allocation Rate) 502M(49%)->716M(70%)")
WARNING [DataReaderUnifiedJvmLogging]: Failed to parse gc event (com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'Garbage Collection (Allocation Rate)') on line number 56 (line="[4,573s][info][gc ] GC(4) Garbage Collection (Allocation Rate) 718M(70%)->580M(57%)")
[..]
etc.
I attached the gc log file I used.
I used -Xlog:gc,gc+phases:gc.log
Is the gc-phases info also used? Other tags/levels to include?
Would be great if ZGC is also supported.
Thanks!
Jeroen