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

Severin Gehwolf sgehwolf at openjdk.org
Thu Jan 26 14:54:25 UTC 2023


On Fri, 20 Jan 2023 15:53:09 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> 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
> - [x] GHA (seem to have had some infra issues, so re-running)

This pull request has now been integrated.

Changeset: 64ddf953
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/64ddf9536f55fb81956ebde6dfc0a3c4147af371
Stats:     68 lines in 3 files changed: 65 ins; 1 del; 2 mod

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

Reviewed-by: stuefe

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

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


More information about the core-libs-dev mailing list