[jdk17u-dev] RFR: 8282684: Obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags
SendaoYan
syan at openjdk.org
Sat Feb 14 06:05:19 UTC 2026
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 jdk117u-dev.
Additional testing:
- [ ] All the docker tests
-------------
Commit messages:
- Remove "int share = UseContainerCpuShares ? cpu_shares() : -1;"
- Backport db772276848f6ad2d4d13e892bcd0eb3123d030f
Changes: https://git.openjdk.org/jdk17u-dev/pull/4266/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4266&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8282684
Stats: 115 lines in 4 files changed: 0 ins; 103 del; 12 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/4266.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4266/head:pull/4266
PR: https://git.openjdk.org/jdk17u-dev/pull/4266
More information about the jdk-updates-dev
mailing list