[8u] RFR: 8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 swap limit capabilities

Severin Gehwolf sgehwolf at redhat.com
Mon Nov 23 17:37:14 UTC 2020


Hi,

Please review this container fix for OpenJDK 8u. It fixes an issue for
systems which don't have swap accounting turned on. This is an Oracle
JDK parity fix too. The differences to the JDK 11 patch are minor:

 * Split of the patches between hotspot and jdk repositories in JDK 8
 * New OutputAnalyzer import in TestMemoryAwareness.java. Introduced
   with JDK-8229182 in JDK 11 currently not slated for backport in 8.

Bug: https://bugs.openjdk.java.net/browse/JDK-8250984
webrev: https://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8250984/jdk8/01/

Testing: Container tests on Linux x86_64 cgroup v1 with swappaccount=0.
Fails before, passes after.

Thoughts?

Thanks,
Severin



More information about the jdk8u-dev mailing list