Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrintGCID not parsed #197

Closed
YouriAndropov opened this issue May 6, 2018 · 4 comments · Fixed by #260
Closed

PrintGCID not parsed #197

YouriAndropov opened this issue May 6, 2018 · 4 comments · Fixed by #260

Comments

@YouriAndropov
Copy link

YouriAndropov commented May 6, 2018

Hi,
I recently discovered a HotSpot diagnostic option, PrintGCID, with such outputs :

2018-05-06T02:54:06.938+0200: 5.970: #2: [GC concurrent-mark-end, 0.0018985 secs] 2018-05-06T02:54:06.938+0200: 5.970: #2: [GC remark 2018-05-06T02:54:06.938+0200: 5.970: #2: [Finalize Marking, 0.0002212 secs] 2018-05-06T02:54:06.938+0200: 5.971: #2: [GC ref-proc, 0.0002123 secs] 2018-05-06T02:54:06.938+0200: 5.971: #2: [Unloading, 0.0024467 secs], 0.0032812 secs] [Times: user=0.00 sys=0.00, real=0.00 secs] 2018-05-06T02:54:06.941+0200: 5.974: Total time for which application threads were stopped: 0.0033949 seconds, Stopping threads took: 0.0000471 seconds 2018-05-06T02:54:06.941+0200: 5.974: #2: [GC cleanup 11M->11M(1024M), 0.0008772 secs] [Times: user=0.22 sys=0.00, real=0.00 secs] 2018-05-06T02:54:06.942+0200: 5.975: Total time for which application threads were stopped: 0.0009325 seconds, Stopping threads took: 0.0000167 seconds (...) 2018-05-06T02:54:07.275+0200: 6.307: #3: [GC pause (G1 Evacuation Pause) (young) Desired survivor size 4718592 bytes, new threshold 15 (max 15)

Unfortunately, these ids are not parsed:
AVERTISSEMENT [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '#' AVERTISSEMENT [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '#' AVERTISSEMENT [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '-' AVERTISSEMENT [DataReaderSun1_6_0G1]: com.tagtraum.perf.gcviewer.imp.UnknownGcTypeException: Unknown gc type: '#'

@chewiebug
Copy link
Owner

chewiebug commented May 8, 2018 via email

@YouriAndropov
Copy link
Author

YouriAndropov commented May 9, 2018

Hello, I'm using the latest 1.8.0_172 oracle JDK, with the following logging options :

-verbose:gc -Xloggc:gc_jmeter_%%p.log -XX:+PrintGCDetails -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps -XX:+PrintGCID -XX:+PrintGCTaskTimeStamps

@chewiebug
Copy link
Owner

chewiebug commented May 13, 2018 via email

@xiangzhai
Copy link
Contributor

Hi @YouriAndropov

Please try it: #260

Thanks,
Leslie Zhai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants