-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8302206: Factor out duplicate G1VerificationClosure #12511
8302206: Factor out duplicate G1VerificationClosure #12511
Conversation
further cleanup more cleanup factor out changes that move the verifylivenessclosure fix compilation
👋 Welcome back tschatzl! A progress list of the required criteria for merging this PR into |
0313049
to
736f033
Compare
Webrevs
|
I find |
This has been a (somewhat bad) tradeoff between implementation effort for this change and usefulness. This is a develop flag, i.e. available only when debugging, and not printing any of the errors does not seem useful in that situation (I can hardly see a situation where one runs a debug build to find errors and then suppress all the messages you need for debugging. That corresponds to my use of that flag to set this value to something fairly low to decrease the amount of errors reported to something manageable, but still get an idea whether the issues are limited e.g. to a special type of region, but never to turn them off). As for proper support of the The flag now is a |
I see.
Thanks for the revision. |
@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 125 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 |
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 except for the one simple change suggested.
Thanks @albertnetymk @kimbarrett for your reviews /integrate |
Going to push as commit e971f90.
Your commit was automatically rebased without conflicts. |
Hi all,
can I have reviews for this cleanup that merges
G1VerifyLiveClosure
fromg1FullGCMarker.cpp
andVerifyLiveClosure
fromheapRegion.cpp
into a single one as they are virtually identical.There is probably one change that needs some discussion, and that is about changing the type and meaning of
G1MaxVerifyFailures
: after changing the type ofG1VerificationClosure::_num_failures
to uint, the given comparison does not work any more due to differing types.However the change of the default value to
0
meaning "show all messages" does not seem too bad: even before this change, a value of0
at least showed one failure as this check (now it shows all messages) is located after the error printing in the closures.It's a develop flag too, so instead of casting around I chose to simply change the meaning.
Testing: gha
Thanks,
Thomas
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/12511/head:pull/12511
$ git checkout pull/12511
Update a local copy of the PR:
$ git checkout pull/12511
$ git pull https://git.openjdk.org/jdk pull/12511/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 12511
View PR using the GUI difftool:
$ git pr show -t 12511
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12511.diff