[jdk11u-dev] RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory

Jonathan Dowland jdowland at openjdk.org
Mon Sep 5 11:52:46 UTC 2022


Hi 

This pull request contains a backport of commit [9a0d1e7c](https://github.com/openjdk/jdk/commit/9a0d1e7ce86368cdcade713a9e220604f7d77ecf) from the [openjdk/jdk](https://git.openjdk.org/jdk) for jdk17u-dev. This patch for the Metrics system is a counterpart to 8292083 (which addressed the underlying issue in hotspot) which is already merged in jdk11u-dev. We would like it in 11u-dev for 11 users as we have seen this issue in the wild.

The commit being backported was authored by Jonathan Dowland on 26 Aug 2022 and was reviewed by Thomas Stuefe and Severin Gehwolf.

Patch applies clean to 11u-dev. The new tests it add fail in jdk11u-dev prior to this patch and pass after, as expected.

Thanks!

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

Commit messages:
 - 8292541: [Metrics] Reported memory limit may exceed physical machine memory

Changes: https://git.openjdk.org/jdk11u-dev/pull/1355/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1355&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292541
  Stats: 61 lines in 3 files changed: 45 ins; 9 del; 7 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1355.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1355/head:pull/1355

PR: https://git.openjdk.org/jdk11u-dev/pull/1355


More information about the jdk-updates-dev mailing list