RFR: JDK-8325139: JFR SwapSpace event - add free swap space information on Linux when running in a container environment [v5]

Matthias Baesken mbaesken at openjdk.org
Thu Feb 29 09:09:06 UTC 2024


> The JFR SwapSpace event (added by [JDK-8324287](https://bugs.openjdk.org/browse/JDK-8324287)) has been added but in a Linux containerized environment we currently just report -1, this should be enhanced. There is already some code in the mbeans (but in Java) that does something similar .

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  adjust CgroupV1Subsystem::memory_and_swap_usage_in_bytes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17966/files
  - new: https://git.openjdk.org/jdk/pull/17966/files/5e4f5550..d1b2dc52

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17966&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17966&range=03-04

  Stats: 12 lines in 1 file changed: 5 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/17966.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17966/head:pull/17966

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


More information about the hotspot-runtime-dev mailing list