[jdk17u-dev] RFR: 8282684: Obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags
SendaoYan
syan at openjdk.org
Sat Feb 14 06:43:53 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:
>
> - [x] All the docker tests
Test jdk/internal/platform/docker/TestDockerCpuMetrics.java fails, since [JDK-8370492](https://bugs.openjdk.org/browse/JDK-8370492) have not backport yet.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/4266#issuecomment-3901259787
More information about the jdk-updates-dev
mailing list