RFR: 8299858: [Metrics] Swap memory limit reported incorrectly when too large [v2]

Severin Gehwolf sgehwolf at openjdk.org
Wed Jan 25 10:34:46 UTC 2023


> Please review this fix to [JDK-8292541](https://bugs.openjdk.org/browse/JDK-8292541) which adds the same handling for swap values exceeding what's possible in the non-container case. I.e. treats it as unlimited and fixes the reporting. This has been handled on the hotspot side similarly with [JDK-8292083](https://bugs.openjdk.org/browse/JDK-8292083).
> 
> Testing:
> - [x] Container tests on linux x86_64 with cg v1
> - [x] Container tests on linux x86_64 with cg v2
> - [ ] GHA (seem to have had some infra issues, so re-running)

Severin Gehwolf 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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12118/files
  - new: https://git.openjdk.org/jdk/pull/12118/files/abd83cf3..abd83cf3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12118&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12118&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/12118.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12118/head:pull/12118

PR: https://git.openjdk.org/jdk/pull/12118


More information about the core-libs-dev mailing list