[8u] RFR: 8250627: Use -XX:+/-UseContainerSupport for enabling/disabling Java container metrics

Severin Gehwolf sgehwolf at redhat.com
Tue Aug 4 15:49:56 UTC 2020


Hi,

Please review this OpenJDK 8u backport of a change to be able to
disable Java container metrics with -XX:-UseContainerSupport. The JDK
11 change doesn't apply cleanly since JDK 8u splits things across
repositories. This is a change to the hotspot and jdk repos.
Furthermore, some added build make file changes are needed to get the
natives properly built. By-and-large, the change is very similar to JDK
11's version. As with the JDK 11 and jdk/jdk change, this is a Linux-
only patch and shouldn't affect other platforms. This patch depends on
JDK-8203357, which is currently on review.

Bug: https://bugs.openjdk.java.net/browse/JDK-8250627
webrev: https://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8250627/jdk8/01/
JDK 11 change: https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/a75956082916

Testing: container testing on Linux x86_64 (including the new test).
         tier1 no new regressions.

Thoughts?

Thanks,
Severin



More information about the jdk8u-dev mailing list