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:29 UTC 2020


> Please review this change to fix memory docker tests failures on some Linux kernels w/o cgroupv1 swap limit
> capabilities.  The fix works by detecting that swap limit capabilities are not available and returning non-swap related
> information.  For example, if memory and swap usage is requested, and swap limit capabilities are not available, then
> only memory usage is returned.  The fix was tested by running container tests on systems with and without swap limit
> capabilities.  Additionally, the changes were regression tested by running tier1 and tier2 tests on Windows, Linux x64,
> and Mac OS, and running tier3 - tier5 tests on Linux x64.

Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:

  8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 swap limit capabilities

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/342/files
  - new: https://git.openjdk.java.net/jdk/pull/342/files/27462257..bcddedd0

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=342&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=342&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/342.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/342/head:pull/342

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


More information about the hotspot-runtime-dev mailing list