-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8253343: Extract G1 Young GC algorithm related code from G1CollectedHeap #5333
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
8253343: Extract G1 Young GC algorithm related code from G1CollectedHeap #5333
Conversation
|
👋 Welcome back tschatzl! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
@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 40 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 |
|
Seems g1YoungCollector.inline.hpp is an empty file and not referenced anywhere. |
It got empty after the latest merge. Removed. |
kstefanj
left a comment
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 to me.
|
Thanks @kstefanj @albertnetymk for your reviews. /integrate |
|
Going to push as commit 2cabec8.
Your commit was automatically rebased without conflicts. |
Hi all,
can I have reviews for this change that moves the G1 young collection algorithm containing the collection part out of
G1CollectedHeapinto a newG1YoungCollectorclass.This change is mostly limited to moving the young collection specific code out; data structures are mostly kept in
G1CollectedHeapfor one reason or another, most of the time just to decrease the amount of code changes.That will be fixed by upcoming (smaller) changes.
Other random comments:
g1CollectedHeap.hppare unsorted, but they were already and I will fix that later.G1CollecteHeapinterface: at the moment, to reduce changes, I moved only code that was easy to move, and added back-references toG1CollectedHeap. There is a large list of getters for those inG1YoungCollector. These will be investigated one by one whether they can be removed by moving other code toG1YoungCollector.G1CollectedHeapto some class that contains long term state specific to the young collection (e.g. evacuation failure injector, evacuation failure final result?, _bytes_used_during_gc, _gc_timer_stw, _gc_tracer_stw, stw reference processor and related closures)So lots of changes ahead, but this is a significant first step to avoid me doing tricky merges over and over again.
Testing: tier1-5
Thanks,
Thomas
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/5333/head:pull/5333$ git checkout pull/5333Update a local copy of the PR:
$ git checkout pull/5333$ git pull https://git.openjdk.java.net/jdk pull/5333/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 5333View PR using the GUI difftool:
$ git pr show -t 5333Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/5333.diff