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

Jonathan Dowland jdowland at openjdk.org
Mon Sep 5 10:48:37 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 jdk17u-dev. We would like it in 17u-dev for 17 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 17u-dev. The new tests it add fail in jdk17u-dev prior to this patch and pass after, as expected.

Thanks!

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

Commit messages:
 - Backport 9a0d1e7ce86368cdcade713a9e220604f7d77ecf

Changes: https://git.openjdk.org/jdk17u-dev/pull/652/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=652&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/jdk17u-dev/pull/652.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/652/head:pull/652

PR: https://git.openjdk.org/jdk17u-dev/pull/652


More information about the jdk-updates-dev mailing list