-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
8269914: Factor out heap printing for G1 young and full gc #4705
8269914: Factor out heap printing for G1 young and full gc #4705
Conversation
👋 Welcome back tschatzl! A progress list of the required criteria for merging this PR into |
Webrevs
|
bb712ba
to
b5b57c0
Compare
Apologies for this recent change: due to the way I split the change containing all changes there had been a problem with JFR events getting sent out of order which some tests checked (in Also the original change contained the output of a merge error. Apologies. Should be all fixed now though, but I'll rerun tier1-5 |
/issue add JDK-8270018 |
@tschatzl |
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.
Many comments are very subjective; the current version looks fine as well.
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.
lgtm!
Minor:
can we change
hpm -> heap_printer
jtm -> tracer_mark
as done in G1FullGCScope
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.
Looks good.
@tschatzl This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 37 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Thanks @albertnetymk @kimbarrett @walulyai for your reviews. |
/integrate |
Going to push as commit c93204c.
Your commit was automatically rebased without conflicts. |
Hi all,
can I have reviews for this change that factors out before/after heap related printing into a single scoped object to be used for both young and full gc code?
There is some minor change in order of printing of unrelated log output (COMMIT/UNCOMMIT region state changes vs. other heap printing), during full gc but since this is very low level debugging I do not see a problem to do that.
(Sorry for the trouble with open/closing this issue already: have been experimenting with the feature to base PRs on other PRs which kind-of failed a bit; rebased on tip after being able to push all dependencies, so this one should be good)
To keep JFR event sending in the correct order, this change includes JDK-8270018.
Thanks,
Thomas
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4705/head:pull/4705
$ git checkout pull/4705
Update a local copy of the PR:
$ git checkout pull/4705
$ git pull https://git.openjdk.java.net/jdk pull/4705/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4705
View PR using the GUI difftool:
$ git pr show -t 4705
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4705.diff