[jdk11u-dev] RFR: 8244500: jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java

Elliott Baron ebaron at openjdk.java.net
Fri Mar 18 22:24:42 UTC 2022


Doesn't apply cleanly because of newer backport "JDK-8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1".

In test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java:
- One hunk in testOperatingSystemMXBeanAwareness doesn't apply because of newer fix JDK-8250984 backported ahead of this fix.
  - testOperatingSystemMXBeanAwareness in 11u already matches the what it looked like after the original JDK-8250984 commit, with JDK-8244500 already present in that version: https://github.com/openjdk/jdk/blob/0187567704d79ecf394d4cb656d0ba4c886351f1/test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java#L160-L175.
  - Dropping this hunk.

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

Commit messages:
 - Backport fb5132254d834ba01a4b65ce64143843e83c674e

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/920/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=920&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8244500
  Stats: 21 lines in 3 files changed: 19 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/920.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/920/head:pull/920

PR: https://git.openjdk.java.net/jdk11u-dev/pull/920


More information about the jdk-updates-dev mailing list