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

Application was stopped for >1s but GCViewer shows only 0.12s #25

Closed
ghost opened this issue May 2, 2012 · 4 comments
Closed

Application was stopped for >1s but GCViewer shows only 0.12s #25

ghost opened this issue May 2, 2012 · 4 comments
Assignees

Comments

@ghost
Copy link

ghost commented May 2, 2012

Hello!

I have a log which shows that application was stopped for more than 1second.

-bash-3.2$ grep "stopped" gc.log |grep -v "0."
Total time for which application threads were stopped: 1.0452510 seconds
Total time for which application threads were stopped: 1.2077760 seconds
Total time for which application threads were stopped: 1.8804600 seconds
Total time for which application threads were stopped: 1.7116780 seconds
...

But for some reason GCViewer Y-axis maximum value is 0.12second. If I don't grep the log it seems that everything was fine though really it wasn't.

Here is the log - http://db.tt/dr8mjtou
And the picture - http://db.tt/AbaYsm6p

Thanks!

@chewiebug
Copy link
Owner

Hi,

It looks like those stopped times are not (at least not always) related to garbage collection events. http://stackoverflow.com/questions/6870180/why-are-there-multiple-total-time-for-which-application-threads-were-stopped-l

GCViewer only analyses the GC events and ignores other events.

Regards, Jörg

-------- Original-Nachricht --------

Datum: Wed, 2 May 2012 00:12:28 -0700
Von: ktyurin reply@reply.github.com
An: chewiebug jwu@gmx.ch
Betreff: [GCViewer] Application was stopped for >1s but GCViewer shows only 0.12s (#25)

Hello!

I have a log which shows that application was stopped for more than
1second.

-bash-3.2$ grep "stopped" gc.log |grep -v "0."
Total time for which application threads were stopped: 1.0452510 seconds
Total time for which application threads were stopped: 1.2077760 seconds
Total time for which application threads were stopped: 1.8804600 seconds
Total time for which application threads were stopped: 1.7116780 seconds
...

But for some reason GCViewer Y-axis maximum value is 0.12second. If I
don't grep the log it seems that everything was fine though really it wasn't.

Here is the log - http://db.tt/dr8mjtou
And the picture - http://db.tt/AbaYsm6p

Thanks!


Reply to this email directly or view it on GitHub:
#25

NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

@chewiebug chewiebug added this to the 1.34 milestone Aug 3, 2014
@chewiebug chewiebug self-assigned this Aug 3, 2014
chewiebug added a commit that referenced this issue Aug 3, 2014
…`-XX:+PrintGCApplicationStoppedTime` and show in chart / statistics)

addresses issues
- #106 G1; combination of -XX:+PrintGCApplicationStoppedTime, -XX:+PrintTenuringDistribution, -XX:+PrintAdaptiveSizePolicy
- #91 G1; combination of -XX:+PrintGCApplicationStoppedTime, -XX:+PrintTenuringDistribution
- #90 (Oracle Parser without G1); -XX:+PrintGCApplicationStoppedTime
- #25 G1 and others; evaluate -XX:+PrintGCApplicationStoppedTime
@chewiebug
Copy link
Owner

Hi,

If you are still listening here: I have merged a branch that adresses your issue. You can download the latest 1.34-SNAPSHOT version. The sample file you posted here, is now parsed and the "application stopped" events evaluated (see changelog).

If you find something missing concerning this issue, please reopen it.

Best regards,
Jörg

@ghost
Copy link
Author

ghost commented Aug 4, 2014

Much appreciated!

@chewiebug
Copy link
Owner

You are welcome!

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

No branches or pull requests

1 participant