git: openjdk/jdk11u-dev: 8252957: Wrong comment in CgroupV1Subsystem::cpu_quota

Severin Gehwolf sgehwolf at openjdk.java.net
Mon Mar 28 09:26:03 UTC 2022


Changeset: 27b388c6
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
Date:      2022-03-28 09:24:14 +0000
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/27b388c60c6df5e47d204fac224b80b49fd0cf83

8252957: Wrong comment in CgroupV1Subsystem::cpu_quota

The comment is wrong. The 'us' in 'cpu.cfs_quota_us' stands for
microseconds, which is read verbatim. Similarly for cgroups v2
all units in 'cpu.max' are in microseconds.

Backport-of: 5166094647f8bfae32ef4bbde2e40f68e073b595

! src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp
! src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp



More information about the jdk-updates-changes mailing list