8370492: [Linux] Update cpu shares to cpu.weight mapping function#2512
8370492: [Linux] Update cpu shares to cpu.weight mapping function#2512sendaoYan wants to merge 4 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back syan! A progress list of the required criteria for merging this PR into |
|
@sendaoYan 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 61 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
This backport pull request has now been updated with issue from the original commit. |
|
|
Webrevs
|
|
Verify commnd j -jdk:build/linux-x86_64-server-release/images/jdk/ -Djdk.test.docker.image.name=jdk-build -Djdk.test.docker.image.version=11 test/jdk/jdk/internal/platform/docker/TestDockerCpuMetrics.java test/hotspot/jtreg/containers/docker/TestMisc.java test/jdk/jdk/internal/platform/docker/MetricsCpuTester.java |
|
Blocked by https://bugs.openjdk.org/browse/JDK-8370966 |
|
Blocked by 8346048 |
|
@sendaoYan 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 issue a |
|
@sendaoYan 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 issue a |
|
All the tests in test/jdk/jdk/internal/platform/docker and test/hotspot/jtreg/containers/docker/ run passed after this PR, except containers/docker/TestJcmdWithSideCar.java fails |
|
/approval request Clean backport update the Linux container detection code to adapt the cg v2 to most recent runtimes' implementation. Before this backport PR, test/jdk/jdk/internal/platform/docker/TestDockerCpuMetrics.java failed, after this backport PR, test/jdk/jdk/internal/platform/docker/TestDockerCpuMetrics.java passed. All the tests in test/jdk/jdk/internal/platform/docker and test/hotspot/jtreg/containers/docker/ run passed after this PR, except containers/docker/TestJcmdWithSideCar.java fails and has been addressed by JDK-8341518 |
|
@sendaoYan |
|
@sendaoYan 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 issue a |
|
Thanks for the approved. /integrate |
|
Going to push as commit 7206cc3.
Your commit was automatically rebased without conflicts. |
|
@sendaoYan Pushed as commit 7206cc3. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
This pull request contains a backport of commit 5d65c23c from the openjdk/jdk repository.
The commit being backported was authored by Severin Gehwolf on 14 Nov 2025 and was reviewed by Casper Norrbin, Albert Mingkun Yang and SendaoYan.
Thanks!
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2512/head:pull/2512$ git checkout pull/2512Update a local copy of the PR:
$ git checkout pull/2512$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2512/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2512View PR using the GUI difftool:
$ git pr show -t 2512Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2512.diff
Using Webrev
Link to Webrev Comment