RFR: JDK-8325116: Amend jdk.ContainerConfiguration by swap related value

Matthias Baesken mbaesken at openjdk.org
Thu Feb 15 08:31:14 UTC 2024


jdk.ContainerInformation event could get amended to report the host total swap values for Linux like was done in
https://bugs.openjdk.org/browse/JDK-8296671 by host total memory.
Two additional fields could be added hostSwapTotal, maybe hostSwapFree;
container free swap space in case we find a good implementation, could also be added to the implementation in os_linux.

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

Commit messages:
 - JDK-8325116

Changes: https://git.openjdk.org/jdk/pull/17865/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17865&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325116
  Stats: 28 lines in 7 files changed: 25 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/17865.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17865/head:pull/17865

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


More information about the hotspot-dev mailing list