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

Jonathan Dowland jdowland at openjdk.org
Wed Nov 16 11:51:25 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 builds and runs for me, and currently fails on my  cgroup v2 system with


JavaTest Message: Test threw exception: java.lang.RuntimeException: 'OperatingSystemMXBean.getTotalSwapSpaceSize: [0-9]+' missing from stdout/stderr 


the relevant log line is reporting a negative value


OperatingSystemMXBean.getTotalSwapSpaceSize: -52428800


I will investigate further

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

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


More information about the jdk8u-dev mailing list