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

Severin Gehwolf sgehwolf at openjdk.org
Wed Dec 7 15:06:34 UTC 2022


On Thu, 10 Nov 2022 16:09:34 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Clean backport to the 11u version. Only path changes.

This pull request has now been integrated.

Changeset: 97d00caf
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/97d00caf3d79f534da431d373dfbae8e93f735cd
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.

Reviewed-by: andrew
Backport-of: 3e96721cd9d1e1f46711e70dfc22064bab212b64

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

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


More information about the jdk8u-dev mailing list