[jdk13u-dev] RFR: 8226575: OperatingSystemMXBean should be made container aware

Ekaterina Vergizova github.com+71385633+kvergizova at openjdk.java.net
Tue Nov 3 14:44:15 UTC 2020


The patch applies cleanly, but it requires some modifications.
The original patch added new methods to OperatingSystemMXBean according to CSR JDK-8228428. Backporting them to 13u is not suitable. 
Similar to 11u/8u, existing methods have been changed to return the container values instead.
CSR for 13u is filed: JDK-8255834, it's similar to 11u/8u CSR JDK-8248804.

Tested with tier1 and container tests on Linux and Windows, the only failure is containers/docker/TestMemoryAwareness.java which is fixed by follow-up JDK-8236617, the plan is to push them together.

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

Commit messages:
 - Backport 7b82266a159ce363708e347aba7e1b0d38206b48

Changes: https://git.openjdk.java.net/jdk13u-dev/pull/8/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk13u-dev&pr=8&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8226575
  Stats: 347 lines in 12 files changed: 323 ins; 2 del; 22 mod
  Patch: https://git.openjdk.java.net/jdk13u-dev/pull/8.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk13u-dev pull/8/head:pull/8

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


More information about the jdk-updates-dev mailing list