jdk
jdk copied to clipboard
8292267: Clean up synchronizer.hpp
Fix two problems with synchronizer.hpp:
- It's unnecessarily included in two popular headers: monitorChunk.hpp and frame_<cpu>.hpp. The latter is most problematic because it includes synchronizer.hpp in the middle of a class declaration!
- synchronizer.hpp includes linkedlist.hpp. This can be avoid by moving the definition of Synchronizer::PtrList into synchronizer.cpp.
These headers are included much less after this PR (out of ~1000 hotspot .o files)
linkedlist.hpp 857 -> 101
synchronizer.hpp 848 -> 122
resourceHash.hpp 850 -> 270
Progress
- [x] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
- [x] Change must not contain extraneous whitespace
- [x] Commit message must refer to an issue
Issue
- JDK-8292267: Clean up synchronizer.hpp
Reviewers
- Coleen Phillimore (@coleenp - Reviewer) ⚠️ Review applies to 9b372650
- Daniel D. Daugherty (@dcubed-ojdk - Reviewer) ⚠️ Review applies to 9b372650
- David Holmes (@dholmes-ora - Reviewer) ⚠️ Review applies to 9b372650
Reviewing
Using git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9849/head:pull/9849
$ git checkout pull/9849
Update a local copy of the PR:
$ git checkout pull/9849
$ git pull https://git.openjdk.org/jdk pull/9849/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9849
View PR using the GUI difftool:
$ git pr show -t 9849
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9849.diff
:wave: Welcome back iklam! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.
@iklam The following labels will be automatically applied to this pull request:
hotspotserviceabilityshenandoah
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.
@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:
8292267: Clean up synchronizer.hpp
Reviewed-by: coleenp, dcubed, dholmes
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 master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.
➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.
Thanks @coleenp @dholmes-ora @dcubed-ojdk for the review. Tiers 1,2 and build-tier5 passed on top of #9927 /integrate
Going to push as commit 7244dd6fab0c516ed76af594593b8378512620c8.
Since your change was applied there have been 9 commits pushed to the master branch:
- 1f3578b79c6355b976d64756da7e4a8af32c2987: 8292446: Make TableRateStatistics optional in CHT
- 45dec480ef6f1d5509f4afbbf414c69584ac252e: 8292592: JFR test TestNative is not reliable due to low rate of sampling.
- 58aae340a9892889ef8784ef9360bb7e0af85ddd: 8292576: Improve wording of AccessFlag-related specs
- 5ca268ca65f3619139abeddd1070306db406ccc1: 8292636: (dc) Problem listing of java/nio/channels/DatagramChannel/Unref.java has incorrect issue ID
- 37aa7c165dac13b7d6bb2b3c9814e1ec3fc4a730: 8292559: Add test for -XX:+CheckJNICalls showing changed signal handlers
- f2f0cd86bf4dce4633f484476077fd090549780e: 8292511: AArch64: Align CPU feature name for NEON with hwcap
- 1f484dae4efaa60cf18a3d4df947c05f1497bd5b: 8289562: Change bugs.java.com and bugreport.java.com URL's to https
- 63a126aa2d6d7645c9cac6d3f9f0b87473cf7478: 8292607: Remove unused dirty and dirty_card_range_after_reset in CardTable
- 7d18ebd870bb6aa409fd4e7b622400fd9a8f7d30: 8292606: G1 and Epsilon header cleanup for JDK-8282729
Your commit was automatically rebased without conflicts.
@iklam Pushed as commit 7244dd6fab0c516ed76af594593b8378512620c8.
:bulb: You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.