-
Notifications
You must be signed in to change notification settings - Fork 224
8281015: Further simplify NMT backend #1820
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
Conversation
👋 Welcome back goetz! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
49720ae
to
3108784
Compare
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.
LGTM.
@GoeLin 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 10 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 |
/integrate |
Going to push as commit aa54750.
Your commit was automatically rebased without conflicts. |
I backport this as prereq of some useful NMT improvements: JDK-8292072j, JDK-8292948, JDK-8292898.
I had to do some trivial resolves and adaptions to make it build. See also extra commits.
src/hotspot/share/runtime/os.cpp
Resolved because "8286519 Better memory handling." is in the context.
src/hotspot/share/services/mallocTracker.cpp
Deleted function release() uses check_block_integrity() which is named assert_block_integrity() in head.
This came with "8280289: Enhance debug pp() command with NMT info"
The change to MallocTracker::print_pointer_information() can not be applied.
The patched code is only introduced in "8281023: NMT integration into pp debug command does not work"
which is in 19 only. The code refactored into this function stems from debug.cpp and
was introduced there in "8280289: Enhance debug pp() command with NMT info".
Omitted.
src/hotspot/share/services/mallocTracker.hpp
Also naming difference of check_block_integrity() because "8280289: Enhance debug pp() command with NMT info" not in 19.
src/hotspot/share/services/memTracker.hpp
Resolved #include.
The new code brought two calls to assert_block_integrity() which I changed to call check_block_integrity().
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/1820/head:pull/1820
$ git checkout pull/1820
Update a local copy of the PR:
$ git checkout pull/1820
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/1820/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1820
View PR using the GUI difftool:
$ git pr show -t 1820
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/1820.diff
Webrev
Link to Webrev Comment