-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8368104: Parallel: Refactor PSThreadRootsTaskClosure #27393
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back ayang! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@albertnetymk The following label 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 list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
PSScavengeRootsClosure root_closure(pm); | ||
_oop_storage_strong_par_state.oops_do(&root_closure); |
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.
The pm variable isn't local to this scope anymore so it would probably be nicer to move the following part out of the scope:
// Do the real work
pm->drain_stacks(false);
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.
Well, it's there to be consistent with other kinds of roots -- old-to-young pointers, inside scavenge_roots_work
, and thread_closure
.
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.
Ahh. I see now.
Would you mind adding a blank line so that the formatting is consistent:
PSScavengeRootsClosure root_closure(pm);
_oop_storage_strong_par_state.oops_do(&root_closure);
// Do the real work
pm->drain_stacks(false);
PSCardTable* card_table = ParallelScavengeHeap::heap()->card_table(); | ||
|
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.
Please restore this blank line.
Trivial changing the closure input arg to avoid
PSPromotionManager
lookup.Test: tier1
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27393/head:pull/27393
$ git checkout pull/27393
Update a local copy of the PR:
$ git checkout pull/27393
$ git pull https://git.openjdk.org/jdk.git pull/27393/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 27393
View PR using the GUI difftool:
$ git pr show -t 27393
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27393.diff
Using Webrev
Link to Webrev Comment