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

Ekaterina Vergizova evergizova at openjdk.java.net
Fri Dec 4 11:08:19 UTC 2020


I'd like to backport 8250984 to 13u for parity with 11u.
The patch doesn't apply cleanly since 13u doesn't have cgroups v2 support (JDK-8231111), reapplied manually.
The following changes are made:
- some changes are reapplied to different files where the functionality originally located before cgroups v2 support
  (CgroupV1MemorySubSystemController.java -> MemorySubsystem in cgroupv1/SubSystem.java, CgroupV1Subsystem.java -> cgroupv1/Metrics.java, MetricsTesterCgroupV1.java -> MetricsTester.java)
- changes in tests TestMemoryAwareness.java and MetricsMemoryTester.java are adjusted due to different context 
  (JDK-8231111 and different implementation of JDK-8226575 for 13u)
- changes in ProblemLists and PlainRead.java are skipped, they are not applicable to 13u

Tested with tier1 and container tests.

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

Commit messages:
 - Backport 0187567704d79ecf394d4cb656d0ba4c886351f1

Changes: https://git.openjdk.java.net/jdk13u-dev/pull/48/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk13u-dev&pr=48&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8250984
  Stats: 94 lines in 5 files changed: 51 ins; 2 del; 41 mod
  Patch: https://git.openjdk.java.net/jdk13u-dev/pull/48.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk13u-dev pull/48/head:pull/48

PR: https://git.openjdk.java.net/jdk13u-dev/pull/48


More information about the jdk-updates-dev mailing list