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

Bob Vandette bobv at openjdk.java.net
Tue Sep 29 19:03:11 UTC 2020


On Tue, 29 Sep 2020 18:29:47 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> 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
>
> Severin Gehwolf has refreshed the contents of this pull request, and previous commits have been removed. The
> incremental views will show differences compared to the previous content of the PR. The pull request contains one new
> commit since the last revision:
>   8253727: [cgroups v2] Memory and swap limits reported incorrectly

Marked as reviewed by bobv (Committer).

test/lib/jdk/test/lib/containers/cgroup/MetricsTesterCgroupV2.java line 248:

> 246:             newVal = valSwap;
> 247:         } else {
> 248:             // ignore error values for valMemory, since the container runtime

Add an assert??

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

PR: https://git.openjdk.java.net/jdk/pull/384


More information about the hotspot-runtime-dev mailing list