[jdk11u-dev] RFR: 8300119: CgroupMetrics.getTotalMemorySize0() can report invalid results on 32 bit systems

Severin Gehwolf sgehwolf at openjdk.org
Thu Jan 19 15:52:56 UTC 2023


Trivial backport to keep code in sync. Clean patch. Fixes an overflow issue on some 32 bit builds.

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

Commit messages:
 - Backport dea58efb6280bb1d94daf208ac909aa013439397

Changes: https://git.openjdk.org/jdk11u-dev/pull/1672/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1672&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300119
  Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1672.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1672/head:pull/1672

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


More information about the jdk-updates-dev mailing list