RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v2]

Jonathan Dowland jdowland at openjdk.org
Thu Aug 25 10:07:15 UTC 2022


> When the container memory exceeds the physical host's memory, the Java metrics reporting is wrong.
> 
> https://bugs.openjdk.org/browse/JDK-8292541
> 
> This is the equivalent core-libs fix for Hotspot's [JDK-8292083](https://bugs.openjdk.org/browse/JDK-8292083)
> (https://github.com/openjdk/jdk/pull/9880)

Jonathan Dowland has updated the pull request incrementally with one additional commit since the last revision:

  avoid calling subsystem.getMemoryLimit twice

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10017/files
  - new: https://git.openjdk.org/jdk/pull/10017/files/668b81f7..806a0847

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10017.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10017/head:pull/10017

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


More information about the core-libs-dev mailing list