RFR: 8253727: [cgroups v2] Memory and swap limits reported incorrectly
Severin Gehwolf
sgehwolf at openjdk.java.net
Mon Sep 28 17:28:40 UTC 2020
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.
Testing: Container tests on Linux x86_64 on cgroups v2 with crun 0.15
-------------
Commit messages:
- 8253727: [cgroups v2] Memory and swap limits reported incorrectly
Changes: https://git.openjdk.java.net/jdk/pull/384/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=384&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8253727
Stats: 33 lines in 3 files changed: 30 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/384.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/384/head:pull/384
PR: https://git.openjdk.java.net/jdk/pull/384
More information about the hotspot-runtime-dev
mailing list