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

Zhengyu Gu zgu at openjdk.java.net
Wed Mar 23 13:36:27 UTC 2022


On Wed, 23 Mar 2022 13:23:17 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> A clean backport to replace dependency PR [865](https://github.com/openjdk/jdk11u-dev/pull/865) that resulted many conflicts.

This pull request has now been integrated.

Changeset: f76091ec
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/f76091ec9a05a8cb40514082dcff22c7829fa3aa
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.

Backport-of: ff6843ca4842498791061f924c545fa9469cc1dc

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/941


More information about the jdk-updates-dev mailing list