[jdk11u-dev] Integrated: 8253727: [cgroups v2] Memory and swap limits reported incorrectly

Severin Gehwolf sgehwolf at openjdk.java.net
Wed Mar 23 14:06:34 UTC 2022


On Tue, 15 Mar 2022 18:40:58 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Backport JDK-8253727 to 11u-dev. Depends on #863.
> 
> Testing: container tests on a cgroups v2 system

This pull request has now been integrated.

Changeset: 3fc205cf
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/3fc205cf8d09e2ab924fbb33ab4f3a9cc86ae470
Stats:     47 lines in 3 files changed: 42 ins; 0 del; 5 mod

8253727: [cgroups v2] Memory and swap limits reported incorrectly

Account for interface files for swap and memory being reported independently.
The cgroup v1-like value is now reported by adding the memory.max value to
the memory.swap.max value, and memory.current and memory.swap.current
respectively.

Backport-of: 3e96721cd9d1e1f46711e70dfc22064bab212b64

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/894


More information about the jdk-updates-dev mailing list