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

Severin Gehwolf sgehwolf at openjdk.java.net
Tue Sep 29 15:14:24 UTC 2020


On Tue, 29 Sep 2020 14:39:50 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> Looks fine to me, especially if Bob says it's ok.
>
>> Looks fine to me, especially if Bob says it's ok.
> 
> Thanks for the review, Andrew!

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.

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

PR: https://git.openjdk.java.net/jdk/pull/381


More information about the hotspot-runtime-dev mailing list