GCViewer icon indicating copy to clipboard operation
GCViewer copied to clipboard

Unknown gc event warnings when parsing

Open stubarlow opened this issue 5 years ago • 3 comments

Hi. I found a number of WARNING messages after parsing my gc log. Version 1.36-SNAPSHOT jdk1.8.0_144

parser output

WARNING [DataReaderSun1_6_0]: could not find name of event before 56 WARNING [DataReaderSun1_6_0]: com.tagtraum.perf.gcviewer.imp.ParseException: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: 'Preclean SoftR' Line 130170: 2019-03-15T21:47:02.331+0100: 277395.331: [Preclean SoftR2019-03-15T21:47:02.338+0100: 277395.339: [CMS-concurrent-preclean: 0.007/0.008 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]

gc log entry 2019-03-18T12:19:49.065+0100: 502562.066: [Preclean SoftReferences, 0.0001084 secs]2019-03-18T12:19:49.065+0100: 502562.066: [Preclean WeakReferences, 0.0000868 secs]2019-03-18T12:19:49.066+0100: 502562.066: [Preclean FinalReferences, 0.0000938 secs]2019-03-18T12:19:49.066+0100: 502562.066: [Preclean PhantomReferences, 0.0000054 secs]2019-03-18T12:19:49.073+0100: 502562.073: [CMS-concurrent-preclean: 0.008/0.008 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]

Great tool by the way. I've just started using it. Apologies if I inadvertently created this problem myself by setting incorrect JVM parameters.

JVM Parameters -XX:+PrintGCDetails -XX:+PrintReferenceGC -XX:+PrintGCApplicationStoppedTime -XX:+PrintTenuringDistribution -Xloggc:/path/to/log/gc.log -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=2 -XX:GCLogFileSize=10m

stubarlow avatar Mar 18 '19 16:03 stubarlow

Hi Stubarlow,

It looks like the parser was confused by some part of the log output in your log file. Could you please attach a sample log file to this issue containing the offending line(s)?

Best regards, Jörg

chewiebug avatar Mar 18 '19 20:03 chewiebug

gcviewer_219.zip

stubarlow avatar Mar 19 '19 09:03 stubarlow

Hi Jörg. There were 7 occurrences of the offending event over a 3 day period. Each occurrence results in 4 separate log entries. There's one example in that sample I attached. Let me know if you need more data. Thanks!

stubarlow avatar Mar 19 '19 09:03 stubarlow