Skip to content

Unable to parse these lines with GC promotion and reference GC information #76

Closed
@haridsv

Description

@haridsv

When I opened a logfile, I got the below warnings:

WARNING [DataReaderSun1_6_0]: com.tagtraum.perf.gcviewer.imp.ParseException: Error parsing entry (java.lang.NumberFormatException: For input string: "4172533K->4251241K(4323712K).") Line 1357: 2013-09-02T18:22:23.195+0000: 1837.498: [GC1837.600: [SoftReference, 0 refs, 0.0000060 secs]1837.600: [WeakReference, 374 refs, 0.0000550 secs]1837.600: [FinalReference, 347 refs, 0.0002090 secs]1837.600: [PhantomReference, 0 refs, 0.0000020 secs]1837.600: [JNI Weak Reference, 0.0000050 secs]-- [PSYoungGen: 1330796K->1330796K(1403264K)] 4172533K->4251241K(4323712K), 0.6580190 secs] [Times: user=2.35 sys=0.02, real=0.66 secs] 
WARNING [DataReaderSun1_6_0]: com.tagtraum.perf.gcviewer.imp.ParseException: Error parsing entry (java.lang.NumberFormatException: For input string: "4666565K->4772019K(4772032K).") Line 2986: 2013-09-02T18:57:22.049+0000: 3936.352: [GC3936.408: [SoftReference, 0 refs, 0.0000050 secs]3936.408: [WeakReference, 245 refs, 0.0000450 secs]3936.408: [FinalReference, 475 refs, 0.0003260 secs]3936.408: [PhantomReference, 0 refs, 0.0000030 secs]3936.409: [JNI Weak Reference, 0.0000040 secs]-- [PSYoungGen: 1851577K->1851577K(1851584K)] 4666565K->4772019K(4772032K), 0.6971770 secs] [Times: user=1.63 sys=0.00, real=0.70 secs] 
WARNING [DataReaderSun1_6_0]: com.tagtraum.perf.gcviewer.imp.ParseException: Error parsing entry (java.lang.NumberFormatException: For input string: "4654087K->4800467K(4800512K).") Line 3330: 2013-09-02T19:06:10.952+0000: 4465.255: [GC4465.311: [SoftReference, 0 refs, 0.0000050 secs]4465.311: [WeakReference, 409 refs, 0.0000710 secs]4465.311: [FinalReference, 612 refs, 0.0004330 secs]4465.311: [PhantomReference, 0 refs, 0.0000020 secs]4465.311: [JNI Weak Reference, 0.0000040 secs]-- [PSYoungGen: 1880026K->1880026K(1880064K)] 4654087K->4800467K(4800512K), 0.7018690 secs] [Times: user=1.62 sys=0.00, real=0.70 secs] 

It appears like the issue is with the promotion failure marker "--" appearing in them. When I edited out those markers from these lines, it was happy.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions