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

Jonathan Dowland jdowland at openjdk.org
Fri Jan 13 16:44:02 UTC 2023


> This is a backport of JDK-8292541 to jdk8u-dev as part of cgroups v2 support.
> 
> It's not clean: two separate fix ups were needed for 8u which are broken out in separate commits: add the new JNI method name to a mapfile; fully qualify the use of a method name in the test.
> 
> the edited test passes for me.

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

  Use explicit intermediary variables to avoid overflow on 32bit
  
  Thanks Severin Gehwolf for spotting and correcting.

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/220/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/220/files/589c5a51..4146ef2d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=220&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=220&range=00-01

  Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/220.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/220/head:pull/220

PR: https://git.openjdk.org/jdk8u-dev/pull/220


More information about the jdk8u-dev mailing list