-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
8331398: G1: G1HeapRegionPrinter reclamation events should print the original region type #19017
8331398: G1: G1HeapRegionPrinter reclamation events should print the original region type #19017
Conversation
Currently, the various reclamation events always print FREE as the region type in the event string because the methods are always called after freeing. This is kind of useless information (obviously reclaimed regions are FREE after reclaiming), so this CR suggests to use the original type to understand what region has been reclaimed. Testing: local compilation, local testing Thanks, Thomas
👋 Welcome back tschatzl! A progress list of the required criteria for merging this PR into |
@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 35 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 |
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout submit/8331398-hrprinter-print-original-region-type
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
@tschatzl this pull request can not be integrated into git checkout submit/8331398-hrprinter-print-original-region-type
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
There were quite a few changes due to the merge, so requesting re-reviews |
Thanks @lgxbslgx @albertnetymk @walulyai for your review |
@tschatzl This pull request has not yet been marked as ready for integration. |
/integrate |
Going to push as commit a71b404.
Your commit was automatically rebased without conflicts. |
Hi all,
currently, the various reclamation events always print
FREE
as the region type in the event string because the methods are always called after freeing.This is kind of useless information (obviously reclaimed regions are
FREE
after reclaiming), so this CR suggests to use the original type to understand what region has been reclaimed.It helped at least me a bit when debugging crashes after some refinement changes.
This is based on PR#19013, so please have a look at it as well.
Testing: local compilation, local testing
Thanks,
Thomas
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/19017/head:pull/19017
$ git checkout pull/19017
Update a local copy of the PR:
$ git checkout pull/19017
$ git pull https://git.openjdk.org/jdk.git pull/19017/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 19017
View PR using the GUI difftool:
$ git pr show -t 19017
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/19017.diff
Webrev
Link to Webrev Comment