[jdk17u-dev] RFR: 8282684: Obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags
SendaoYan
syan at openjdk.org
Sat Feb 14 06:29:06 UTC 2026
On Sat, 14 Feb 2026 05:57:41 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> This backport PR remove obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags. These flags are deprecated in JDK 19 for [JDK-8281181](https://bugs.openjdk.org/browse/JDK-8281181), and [JDK-8281181](https://bugs.openjdk.org/browse/JDK-8281181) has been backported to jdk17u-dev and jdk11u-dev, so I think it will be useful to backport [JDK-8282684](https://bugs.openjdk.org/browse/JDK-8282684) to jdk17u-dev and jdk11u-dev.
>
> This backport PR patch(jdk17u-dev) and the main line patch looks all the same, except for the meaingless deprecated comments.
>
> Test containers/docker/TestCPUAwareness.java failed before this PR, passed after this PR.
>
> Additional testing:
>
> - [ ] All the docker tests
Test verify commands:
j -Djdk.test.docker.image.name=jdk-build -Djdk.test.docker.image.version=11 -jdk:build/linux-x86_64-server-release/images/jdk/ test/hotspot/jtreg/containers/docker/TestCPUAwareness.java
j -Djdk.test.docker.image.name=jdk-build -Djdk.test.docker.image.version=11 -jdk:build/linux-x86_64-server-release/images/jdk/ -conc:100 test/hotspot/jtreg/containers/docker/ test/jdk/jdk/internal/platform/docker/ &> build/test.log
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/4266#issuecomment-3901236825
More information about the jdk-updates-dev
mailing list