RFR: 8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 …
Severin Gehwolf
sgehwolf at openjdk.java.net
Fri Sep 25 14:38:47 UTC 2020
On Fri, 25 Sep 2020 14:31:56 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
>> The optional - is intential in case UNLIMITED is return (-1).
>
> Hmm, but the OperatingSystemMXBean impl falls back to returning the system (host) values if the container limits are
> unlimited. So the internal Metrics value of -1 for UNLIMITED should never be seen. Has this been actually seen in some
> tests somewhere?
https://github.com/openjdk/jdk/blob/a75edc29c6ce41116cc99530aa1710efb62c6d5a/src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java#L63
-------------
PR: https://git.openjdk.java.net/jdk/pull/342
More information about the hotspot-runtime-dev
mailing list