8307537: Print blobs/nmethods/adapters stats per code heap in CodeCache::print_summary#30803
8307537: Print blobs/nmethods/adapters stats per code heap in CodeCache::print_summary#30803eastig wants to merge 3 commits intoopenjdk:masterfrom
Conversation
…he::print_summary
|
👋 Welcome back eastigeevich! A progress list of the required criteria for merging this PR into |
|
@eastig 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 32 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 |
|
@eastig The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
|
The total number of required reviews for this PR has been set to 2 based on the presence of this label: |
Webrevs
|
| st->print_cr(" size=" JULONG_FORMAT "Kb, used=" JULONG_FORMAT | ||
| "Kb, max_used=" JULONG_FORMAT "Kb, free=" JULONG_FORMAT "Kb", | ||
| total_size, total_used, total_max_used, total_free); | ||
| st->print_cr(" total_blobs=" UINT32_FORMAT ", nmethods=" UINT32_FORMAT |
There was a problem hiding this comment.
Should we use ' ': total blobs since total relates to all counts in this line,
There was a problem hiding this comment.
Agree it is better to use ' '.
| p2i(heap->high()), | ||
| p2i(heap->high_boundary())); | ||
|
|
||
| full_count += get_codemem_full_count(heap->code_blob_type()); |
There was a problem hiding this comment.
Unfortunately get_codemem_full_count() is also used by JFR. Otherwise we could remove it.
|
Good. I submitted our testing. |
vnkozlov
left a comment
There was a problem hiding this comment.
My testing passed. Good.
|
/integrate |
|
Going to push as commit 8353f2e.
Your commit was automatically rebased without conflicts. |
This PR adds blobs/nmethods/adapters stats per code heap in CodeCahe::print_summary:
This information is useful for debugging CodeCache.
Testing: fastdebug, tier1-tier2 passed.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30803/head:pull/30803$ git checkout pull/30803Update a local copy of the PR:
$ git checkout pull/30803$ git pull https://git.openjdk.org/jdk.git pull/30803/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 30803View PR using the GUI difftool:
$ git pr show -t 30803Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30803.diff
Using Webrev
Link to Webrev Comment