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
8260571: Add PrintMetaspaceStatistics to print metaspace statistics upon VM exit #83
Conversation
|
This backport pull request has now been updated with issue from the original commit. |
Hi, @tstuefe. Any updates on this one? |
Its on my list.. |
4902dc5
to
ca08723
Compare
/label jdk-updates-dev |
@tstuefe The label |
Webrevs
|
Overall looks good, I just have two formatting remarks which IMHO should be cleaned up.
Other than that, maybe you could enable Github Actions on your repository to get a test run after your next push.
@@ -1824,6 +1824,10 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G); | |||
"class pointers are used") \ | |||
range(1*M, 3*G) \ | |||
\ | |||
diagnostic(bool, PrintMetaspaceStatisticsAtExit, false, \ | |||
"Print metaspace statistics upon VM exit.") \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you fix the indentation of this line to match the formatting for the other flags around here?
diagnostic(bool, PrintMetaspaceStatisticsAtExit, false, \ | ||
"Print metaspace statistics upon VM exit.") \ | ||
\ | ||
\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one empty line is enough, I'd say.
Thanks Christoph. GHAs enabled, format changes done. Note that the patch cooked in our internal systems for about two months now, so I don't expect surprises. |
Sure, LGTM now |
@tstuefe This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the
|
Thanks. I'll wait for the GHAs to finish, then push. |
/integrate |
Going to push as commit 263d070. |
I would like to backport this change to JDK-11 since this flag helps us analyzing metaspace problems, and beyond that its completely harmless.
The original patch does not properly apply, since the flag definition format in globals.hpp has changed since JDK11. Other than that, the patch is trivial.
Nightlies at SAP ran through with this patch for several weeks now.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/83/head:pull/83
$ git checkout pull/83
Update a local copy of the PR:
$ git checkout pull/83
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/83/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 83
View PR using the GUI difftool:
$ git pr show -t 83
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/83.diff