GCViewer
GCViewer copied to clipboard
Failed to parse gc event "Merge Heap Roots" on Adopt OpenJDK 17
We recently switched from Adopt OpenJDK 11 to 17 using G1.
Now when parsing the GC-Logs there are many warnings in the GCViewer output:
Jan 05, 2022 7:48:56 PM com.tagtraum.perf.gcviewer.imp.DataReaderUnifiedJvmLogging parseEvent
WARNING: Failed to parse gc event (com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: ' Merge Heap Roots:') on line number 80268 (line="[2022-01-05T19:31:03.896+0100][11354.358s][info][gc,phases ] GC(5340) Merge Heap Roots: 0.7ms")
Jan 05, 2022 7:48:56 PM com.tagtraum.perf.gcviewer.imp.DataReaderUnifiedJvmLogging parseGcMemoryTail
WARNING: Expected only memory in the end of line number 80277 (line="[2022-01-05T19:31:03.896+0100][11354.358s][info][gc,metaspace] GC(5340) Metaspace: 419661K(422592K)->419661K(422592K) NonClass: 376477K(377408K)->376477K(377408K) Class: 43183K(45184K)->43183K(45184K)")
Jan 05, 2022 7:48:56 PM com.tagtraum.perf.gcviewer.imp.DataReaderUnifiedJvmLogging parseEvent
WARNING: Failed to parse gc event (com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: ' Merge Heap Roots:') on line number 80283 (line="[2022-01-05T19:31:19.578+0100][11370.040s][info][gc,phases ] GC(5341) Merge Heap Roots: 1.1ms")
Jan 05, 2022 7:48:56 PM com.tagtraum.perf.gcviewer.imp.DataReaderUnifiedJvmLogging parseGcMemoryTail
WARNING: Expected only memory in the end of line number 80277 (line="[2022-01-05T19:31:03.896+0100][11354.358s][info][gc,metaspace] GC(5340) Metaspace: 419661K(422592K)->419661K(422592K) NonClass: 376477K(377408K)->376477K(377408K) Class: 43183K(45184K)->43183K(45184K)")
We're using the decorators tags,time,uptime,level
Best regards, Bohne
Hi Bohne
I have just pushed a commit, which has improved parsing of OpenJDK 17 G1 logs (1.37-SNAPSHOT build).
Best regards Jörg