[jdk11u-dev] RFR: 8347129: cpuset cgroups controller is required for no good reason
Voznia Anton
duke at openjdk.org
Thu Nov 13 14:28:11 UTC 2025
On Thu, 13 Nov 2025 14:17:28 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
>> @jerboaa thank you for the note.
>>
>> In my case the test failed `TestCPUAwareness.java` because of
>> "java.lang.RuntimeException: 'active_processor_count.*1' missing from stdout/stderr "
>>
>> The test expects one active processor count, but the actual value is two:
>> [0.002s][trace][os,container] CgroupSubsystem::active_processor_count (cached): 2
>>
>> Does the cpushare affect the active processor count number?
>
>> Does the cpushare affect the active processor count number?
>
> For JDK 17 and below it does, yes. It's using `-XX:+UseContainerCpuShares`.
@jerboaa I see, thanks
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3109#issuecomment-3528062530
More information about the jdk-updates-dev
mailing list