-
Notifications
You must be signed in to change notification settings - Fork 173
8197408: Bad pointer comparison and small cleanup in os_linux.cpp #164
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
|
/add 8198833 |
|
👋 Welcome back jdowland! 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. |
|
@jmtd Unknown command |
Webrevs
|
|
Test builds, runs and fails with which I think is resolved by 8278951 (confirming) Edit: still failing for me in a cgroups v2 host. I think a later backport might resolve it (from memory). TODO I need to re-run the test (both 8197408 and 8278951) on v1. |
|
The test passes for me in a cgroups v1 host. I think the state (passes on v1, fails on v2) is consistent with the state of things when this patch was committed. I think a later patch might fix this for v2, but it's moot if we consider backporting 8281181, which removes the check against CPU Shares entirely. |
This perhaps? https://bugs.openjdk.org/browse/JDK-8291570 |
That's the one! I think we should add this to our cgroups v2 8u list. |
jerboaa
left a comment
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 OK to me. Code changes missing from the patch are already in 8u (and came there with the initial integration 392e56e).
3ef0d0e to
74d73c9
Compare
221ef6a to
5440743
Compare
|
@jmtd Please do not rebase or force-push to an active PR as it invalidates existing review comments. All changes will be squashed into a single commit automatically when integrating. See OpenJDK Developers’ Guide for more information. |
|
@jmtd This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Keep open, please. |
74d73c9 to
0b65ee0
Compare
|
@jmtd Please do not rebase or force-push to an active PR as it invalidates existing review comments. All changes will be squashed into a single commit automatically when integrating. See OpenJDK Developers’ Guide for more information. |
|
@jmtd this pull request can not be integrated into git checkout 8197408-jdk8u-dev
git fetch https://git.openjdk.org/jdk8u-dev pr/136
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge pr/136"
git push |
5440743 to
07cb4ea
Compare
07cb4ea to
926a5a2
Compare
|
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout 8197408-jdk8u-dev
git fetch https://git.openjdk.org/jdk8u-dev master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
@jmtd This change now passes all automated pre-integration checks. 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 |
|
This cannot be merged as is, needs a rebase. |
0b65ee0 to
f511346
Compare
|
@jmtd Please do not rebase or force-push to an active PR as it invalidates existing review comments. All changes will be squashed into a single commit automatically when integrating. See OpenJDK Developers’ Guide for more information. |
jerboaa
left a comment
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.
OK. Feel free to integrate and then rebase #155, thanks!
|
/integrate |
|
Going to push as commit c7599bd. |
This is a backport of JDK-8197408 to jdk8u-dev as part of cgroups v2. I've backported it as a pre-requisite for 8278951: containers/cgroup/PlainRead.java fails on Ubuntu 21.10 (#155)
Most of the original patch has been integrated already: I've left a whitespace change in for os_linux.cpp to hopefully avoid context problems later on. The majority of this patch is introducing the test PlainRead.java.
Not clean: test adjustments to jtreg metadata, imports, and JVM flags needed.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev pull/164/head:pull/164$ git checkout pull/164Update a local copy of the PR:
$ git checkout pull/164$ git pull https://git.openjdk.org/jdk8u-dev pull/164/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 164View PR using the GUI difftool:
$ git pr show -t 164Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/164.diff