-
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
8329781: Serial: Remove serialFullGC.inline.hpp #18744
Conversation
👋 Welcome back gli! A progress list of the required criteria for merging this PR into |
@lgxbslgx 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 9 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
@@ -604,11 +609,34 @@ template <class T> void SerialFullGC::mark_and_push(T* p) { | |||
} | |||
} | |||
|
|||
inline size_t SerialFullGC::adjust_pointers(oop obj) { |
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.
I see only a single caller of this method; maybe this method can be inlined completely and drop this api.
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.
Inlined.
return obj->oop_iterate_size(&SerialFullGC::adjust_pointer_closure); | ||
} | ||
|
||
template <class T> inline void SerialFullGC::adjust_pointer(T* p) { |
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.
This new code should be after "void MarkAndPushClosure::do_oop(narrowOop* p) { do_oop_work(p); }" so that mark_and_push
is next to its caller.
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.
Moved.
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 "inline" keyword can be dropped, both in hpp and cpp.
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.
Removed.
Thanks for your reviews. Integrating. /integrate |
Going to push as commit f706949.
Your commit was automatically rebased without conflicts. |
Hi all,
This patch moves the content of
serialFullGC.inline.hpp
toserialFullGC.cpp
. Thanks for taking the time to review.Best Regards,
-- Guoxiong
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/18744/head:pull/18744
$ git checkout pull/18744
Update a local copy of the PR:
$ git checkout pull/18744
$ git pull https://git.openjdk.org/jdk.git pull/18744/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 18744
View PR using the GUI difftool:
$ git pr show -t 18744
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/18744.diff
Webrev
Link to Webrev Comment