We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi. It seems to be an unsupported GClog format found.
java version "1.6.0_22" OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.25.1.10.6.0.1.el5_8-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) JVM parameters -verbose:gc -XX:+PrintTenuringDistribution -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
GCViewer log: INFO [DataReaderFacade]: GCViewer version 1.32-SNAPSHOT (2013-03-11 14:42) INFO [DataReaderFactory]: File format: Sun 1.6.x INFO [DataReaderSun1_6_0]: Reading Sun / Oracle 1.4.x / 1.5.x / 1.6.x / 1.7.x format... WARNING [DataReaderSun1_6_0]: com.tagtraum.perf.gcviewer.imp.ParseException: Error parsing entry (java.lang.NumberFormatException: For input string: "188744K->13345K(4063232K).") Line 1: 3.141: [GCDesired survivor size 134217728 bytes, new threshold 7 (max 2) [PSYoungGen: 188744K->13345K(917504K)] 188744K->13345K(4063232K), 0.0285820 secs] [Times: user=0.06 sys=0.01, real=0.03 secs]
GC log example: 3.141: [GCDesired survivor size 134217728 bytes, new threshold 7 (max 2) [PSYoungGen: 188744K->13345K(917504K)] 188744K->13345K(4063232K), 0.0285820 secs] [Times: user=0.06 sys=0.01, real=0.03 secs] 3.170: [Full GC (System) [PSYoungGen: 13345K->0K(917504K)] [PSOldGen: 0K->13159K(3145728K)] 13345K->13159K(4063232K) [PSPermGen: 14997K->14997K(262144K)], 0.0944050 secs] [Times: user=0.09 sys=0.01, real=0.10 secs] 4.083: [GCDesired survivor size 134217728 bytes, new threshold 7 (max 2) [PSYoungGen: 786432K->25297K(917504K)] 799591K->38457K(4063232K), 0.0444010 secs] [Times: user=0.07 sys=0.01, real=0.04 secs]
Exception rased here AbstractDataReaderSun.java
protected void parsePause(GCEvent event, String line, ParsePosition pos) 246 event.setPause(Double.parseDouble(line.substring(pos.getIndex(), end).replace(',', '.')));
Code line substring(pos.getIndex(), end).replace(',', '.')) returns "188744K->13345K(4063232K)." but I think "0.0285820" is expected.
substring(pos.getIndex(), end).replace(',', '.'))
The text was updated successfully, but these errors were encountered:
Parse -XX:+PrintTenuringDistribution for OpenJDK1.6.0_22 (issue #60)
d8d09fa
Hi,
Hmm, this looks like some mixture of Suns JDK 1.4 and 1.5 output for -XX:+PrintTenuringDistribution. I have pushed a fix to github, please test with the latest SNAPSHOT release (https://github.com/chewiebug/GCViewer/wiki/Changelog).
-XX:+PrintTenuringDistribution
Regards, Jörg
Sorry, something went wrong.
Works fine without any exceptions. I can see young/tenured graphs now. Thanks a lot!
Thank you for testing! Happy analysing :-)
chewiebug
No branches or pull requests
Hi.
It seems to be an unsupported GClog format found.
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.25.1.10.6.0.1.el5_8-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
JVM parameters
-verbose:gc -XX:+PrintTenuringDistribution -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
GCViewer log:
INFO [DataReaderFacade]: GCViewer version 1.32-SNAPSHOT (2013-03-11 14:42)
INFO [DataReaderFactory]: File format: Sun 1.6.x
INFO [DataReaderSun1_6_0]: Reading Sun / Oracle 1.4.x / 1.5.x / 1.6.x / 1.7.x format...
WARNING [DataReaderSun1_6_0]: com.tagtraum.perf.gcviewer.imp.ParseException: Error parsing entry (java.lang.NumberFormatException: For input string: "188744K->13345K(4063232K).") Line 1: 3.141: [GCDesired survivor size 134217728 bytes, new threshold 7 (max 2) [PSYoungGen: 188744K->13345K(917504K)] 188744K->13345K(4063232K), 0.0285820 secs] [Times: user=0.06 sys=0.01, real=0.03 secs]
GC log example:
3.141: [GCDesired survivor size 134217728 bytes, new threshold 7 (max 2) [PSYoungGen: 188744K->13345K(917504K)] 188744K->13345K(4063232K), 0.0285820 secs] [Times: user=0.06 sys=0.01, real=0.03 secs]
3.170: [Full GC (System) [PSYoungGen: 13345K->0K(917504K)] [PSOldGen: 0K->13159K(3145728K)] 13345K->13159K(4063232K) [PSPermGen: 14997K->14997K(262144K)], 0.0944050 secs] [Times: user=0.09 sys=0.01, real=0.10 secs]
4.083: [GCDesired survivor size 134217728 bytes, new threshold 7 (max 2) [PSYoungGen: 786432K->25297K(917504K)] 799591K->38457K(4063232K), 0.0444010 secs] [Times: user=0.07 sys=0.01, real=0.04 secs]
Exception rased here
AbstractDataReaderSun.java
Code line
substring(pos.getIndex(), end).replace(',', '.'))
returns "188744K->13345K(4063232K)." but I think "0.0285820" is expected.The text was updated successfully, but these errors were encountered: