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

Add support for JDK8 output when using CMS #300

Merged
merged 5 commits into from
Apr 8, 2015

Conversation

alfh
Copy link
Contributor

@alfh alfh commented Jan 10, 2015

My changes seems to be working, but I have not tested with other garbage collectors than CMS.
I might have time to test with other next week.

This is a suggested fix for issue #296.

Could you please review, and let me know if it looks good ?

@alfh
Copy link
Contributor Author

alfh commented Jan 10, 2015

Full JDK8 support includes more work, since PermGen is no longer present in JDK8, and there is Metaspace, which should probably also have some metrics.

alfh added 3 commits January 11, 2015 10:57
Define variable for gc_timestamp regular expression, the expression
is without timezone, should perhaps be with timezone.

Add support for having gc_timestamp_re on concurrent mode failure
line. But the whole logic there is a bit strange, because the
time recorded for gen1t in that case is not printed at all.
# /\[GC.*\[(DefNew|(AS)?ParNew): [0-9]+K->[0-9]+K\([0-9]+K\),.*secs\] [0-9]+K->[0-9]+K\([0-9]+K\),.*secs\]/ {
$0 ~ "\\[GC " timestamp_re "\\[" fw_yng_gen_re ": " heap_report_re "\\] " heap_report_re "\\]" {
$0 ~ "\\[GC (\\(Allocation Failure\\) )?" timestamp_re "\\[" fw_yng_gen_re ": " heap_report_re "\\] " heap_report_re "\\]" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multiple types of causes, in addition to Allocation Failure, can lead to ParNew GC, it would be nice to have a wild card with pattern something like GC (xxxx)

@richardhsu
Copy link
Contributor

Awesome, thanks Alf for the clarifications. This should be good!

richardhsu added a commit that referenced this pull request Apr 8, 2015
Add support for JDK8 output when using CMS
@richardhsu richardhsu merged commit aff18ab into LinkedInAttic:master Apr 8, 2015
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 this pull request may close these issues.

3 participants