[jdk8u-dev] Integrated: 8253714: [cgroups v2] Soft memory limit incorrectly using memory.high

Jonathan Dowland jdowland at openjdk.org
Wed Dec 7 02:14:12 UTC 2022


On Wed, 5 Oct 2022 08:41:27 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

> This is a backport of a cgroupsv2 related change for jdk8u-dev.
> 
> ----
> 
> The early implementation of cgroups v2 support was done with crun 0.8 and it contained a bug which set memory.high over memory.low when --memory-reservation was being used as a CLI option.
> 
> This bug has been fixed in later crun versions, starting with crun 0.11. Use memory.low in OpenJDK as well.
> 
> Backport-of: ff6843ca4842498791061f924c545fa9469cc1dc

This pull request has now been integrated.

Changeset: 633acfab
Author:    Jonathan Dowland <jdowland at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/633acfabf29e73b9f9cffedd2604c6fa652b9ebe
Stats:     4 lines in 3 files changed: 0 ins; 0 del; 4 mod

8253714: [cgroups v2] Soft memory limit incorrectly using memory.high

The early implementation of cgroups v2 support was done with
crun 0.8 and it contained a bug which set memory.high over
memory.low when --memory-reservation was being used as a CLI
option.

This bug has been fixed in later crun versions, starting with
crun 0.11. Use memory.low in OpenJDK as well.

Reviewed-by: andrew
Backport-of: ff6843ca4842498791061f924c545fa9469cc1dc

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

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


More information about the jdk8u-dev mailing list