[jdk8u-dev] Integrated: 8252957: Wrong comment in CgroupV1Subsystem::cpu_quota

Jonathan Dowland jdowland at openjdk.org
Fri Dec 16 14:33:54 UTC 2022


On Wed, 16 Nov 2022 10:39:05 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

> Simple, comment-only backport for cgroups v2 support in jdk8u. Clean.

This pull request has now been integrated.

Changeset: 0662db27
Author:    Jonathan Dowland <jdowland at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/0662db27bf72d15b2fdd7ed21ea675d40531aef5
Stats:     4 lines in 2 files changed: 0 ins; 0 del; 4 mod

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

-------------

PR: https://git.openjdk.org/jdk8u-dev/pull/176


More information about the jdk8u-dev mailing list