[jdk11u-dev] RFR: 8292083: Detected container memory limit may exceed physical machine memory
Jonathan Dowland
jdowland at openjdk.org
Sat Aug 27 07:54:49 UTC 2022
This is a backport of JDK-8292083 for jdk11u-dev. I wish to backport this to get the bug fix out
to JDK11 users as we have seen it in live deployments.
The backport is not clean:
* unrelated changes in src/hotspot/os/linux/os_linux.hpp (slightly different to the 17u backport)
* in src /hotspot/os/linux/cgroupV1Subsystem_linux.cpp, the original patch modified
CgroupV1Subsystem::kernel_memory_limit_in_bytes, which does not yet exist in jdk17u.
It is introduced in 8287011. I don't know whether that will get backported to 17u in future.
-------------
Commit messages:
- Backport f694f8a7671002559e7d23fdb65d5e9c768f9c03
Changes: https://git.openjdk.org/jdk11u-dev/pull/1346/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1346&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292083
Stats: 91 lines in 7 files changed: 64 ins; 19 del; 8 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/1346.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1346/head:pull/1346
PR: https://git.openjdk.org/jdk11u-dev/pull/1346
More information about the jdk-updates-dev
mailing list