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

Yuri Nesterenko yan at openjdk.java.net
Fri Dec 4 11:28:11 UTC 2020


On Fri, 4 Dec 2020 11:03:13 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:

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

Marked as reviewed by yan (Reviewer).

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

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


More information about the jdk-updates-dev mailing list