-
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
8257731: Remove excessive include of stubRoutines.hpp #1610
8257731: Remove excessive include of stubRoutines.hpp #1610
Conversation
👋 Welcome back iklam! A progress list of the required criteria for merging this PR into |
/label remove serviceability |
@iklam |
Webrevs
|
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, if you did a test build of zero and maybe ppc at least.
@iklam 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 no new commits pushed to the ➡️ 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.
Make sure all builds are passed.
Done. I updated the PR descriptions. |
I have a suggestion: let's wait until JDK 16 forks for stabilization before we do any |
OK, I'll push in JDK 17. |
Mailing list message from David Holmes on hotspot-dev: On 4/12/2020 7:46 pm, Aleksey Shipilev wrote:
With sufficient pre-integration testing this should not be an issue. It David |
And since there's likely going to be some churn happening in tandem in both mainline and stabilization fork in the coming weeks, wouldn't it be better to get changes like these pushed before rather than right after the JDK 16 stabilization fork is created? The second best option might be to hold off with large cleanups/reshuffling until RDP2 starts. |
Mailing list message from David Holmes on hotspot-dev: On 5/12/2020 9:32 pm, Claes Redestad wrote:
I think the point was to defer to this to be 17 only so no churn at all Cheers, |
Mailing list message from Claes Redestad on hotspot-dev: On 2020-12-06 11:15, David Holmes wrote:
Seems we're talking past each other: - The churn I'm referring to is the regular weeks (or months) of bug - Getting this into 17 right after the stabilization fork means we have So what I'm suggesting here is to either: - Get this tested out on all platforms and pushed _now_ to reduce risk OR - Wait until some time after 16 forks to get past the 16 stabilization I have a preference for the former. /Claes |
Mailing list message from David Holmes on hotspot-dev: On 6/12/2020 9:23 pm, Claes Redestad wrote:
I've no idea what you mean by this.
True this could impact the form of changes in 16 versus 17.
Okay. I also prefer the former. The previous issue with this kind of Blocking this kind of change effectively introduces a de-facto RDP0. David
|
I don't mind pushing it for JDK 16. I was just suggesting that we defer somewhat intrusive cleanups to JDK 17, as it customary to do (at least in my vicinity) in order to have everyone else build/test based on clean master in the days coming to JDK 16 cutoff. But we could instead pay more attention to the state of master and fix the follow-up build failure bugs even more promptly this week. |
Mailing list message from Ioi Lam on hotspot-dev: On 12/6/20 9:44 AM, Aleksey Shipilev wrote:
Just to be clear -- this is not a "disruptive" commit. It's unlikely to This commit discovers existing problems in the HotSpot code -- many c1_LIRAssembler_aarch64.cpp calls StubRoutines::generic_arraycopy(). So the majority of the the changes in this commit is *adding* #includes Conversely, if this commit is not pushed in JDK 16, I can imagine in So in my opinion, it doesn't really matter if this commit is in JDK 16
I agree with this. In the event this commit breaks something in a build Thanks |
Mailing list message from Ioi Lam on hotspot-dev: On 12/6/20 3:23 AM, Claes Redestad wrote:
Notwithstanding my claim that this commit is not a disruptive one .... Do we have a policy of withholding disruptive changes in the mainline Thanks
|
Tested with mach5: tier1, builds-tier2, builds-tier3, builds-tier4 and builds-tier5 on mach5, plus locally building arm, aarch64, s390, ppc64, and zero. |
stubRoutines.hpp is unnecessarily included by thread.hpp and copy.hpp. This causes a large number of header files related to native code generation to be included by almost all HotSpot .o files.
The total number of included header files decreased from 252893 to 247631, or about 2%.
Note: the main change is the removal of stubRoutines.hpp in thread.hpp and copy.hpp. Unfortunately I have to fix quite a few missing dependencies in other source files that are revealed by the removal.
Testing: I've tested tier1, builds-tier2, builds-tier3, builds-tier4 and builds-tier5 on mach5, plus locally building arm, aarch64, s390, ppc64, and zero.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1610/head:pull/1610
$ git checkout pull/1610