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

Jonathan Dowland jdowland at openjdk.org
Tue Nov 1 10:50:52 UTC 2022


> 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

Jonathan Dowland has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains one additional commit since the last revision:

  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

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/130/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/130/files/f1344e0e..b6adc371

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=130&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=130&range=01-02

  Stats: 4984 lines in 71 files changed: 2697 ins; 1632 del; 655 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/130.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/130/head:pull/130

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


More information about the jdk8u-dev mailing list