RFR: 8282684: Obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags
Severin Gehwolf
sgehwolf at openjdk.org
Mon Aug 22 08:08:32 UTC 2022
On Fri, 19 Aug 2022 18:41:12 GMT, Harold Seigel <hseigel at openjdk.org> wrote:
> Please review this fix to obsolete two container JVM flags related to using CPU shares to compute active processor count within containers. This fix obsoletes the flags and removes the use of CPU shares from the calculations. The fix was tested by running the container tests on Linux x64 and Linux aarch64 using Mach5
>
> Thanks, Harold
OK.
Question: With this patch `cpu_shares()` related code becomes more or less dead code (other than for diagnostics via `VM.info` jcmd and `-XshowSettings:system`). Is the plan to remove that code too? Without any testing, this would likely bit-rot.
-------------
Marked as reviewed by sgehwolf (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9948
More information about the serviceability-dev
mailing list