[jdk8u-dev] RFR: 8292083: Detected container memory limit may exceed physical machine memory

Jonathan Dowland jdowland at openjdk.org
Wed Nov 16 16:26:15 UTC 2022


On Wed, 16 Nov 2022 11:44:39 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

> This is a backport of 8292083 for jdk8u-dev cgroups v2 support. It's not clean: context issues, replace the use of some log_debug and log_trace, and an adjustment to Asserts class location for hotspot tests.

The test runs in a `oraclelinux:7.6` container which has glibc 2.17, versus my build machine which has 2.33, so I can't run it as-is. I'd previously aliased the name `oraclelinux:7.6` to something with a matching ABI (an Ubuntu image iirc) which explains the discrepancy here.

I'd made a mental note in the past to raise the issue of what was a reasonable baseline libc ABI for jdk8u-dev, and look at backports that change the base image for the tests (I don't think 11u or newer are using `oraclelinux:7.6` but ICBW)

If you can run the test and it passes, I'm satisfied :)

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

PR: https://git.openjdk.org/jdk8u-dev/pull/180


More information about the jdk8u-dev mailing list