RFR: 8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 … [v2]

Harold Seigel hseigel at openjdk.java.net
Fri Sep 25 15:13:36 UTC 2020


On Fri, 25 Sep 2020 14:35:46 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> 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

The -1 has not been seen.  I removed the option '-' from the pattern.  Please see the changes in the latest commit.
Thanks!

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

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


More information about the hotspot-runtime-dev mailing list