[jdk17u-dev] RFR: 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM

Paul Hohensee phh at openjdk.org
Sun Nov 19 22:09:46 UTC 2023


I'd like to backport the definition and implementation of com.sun.management.ThreadMXBean.getTotalThreadAllocatedBytes to 17u. The backport CSR is [JDK-8320375](https://bugs.openjdk.org/browse/JDK-8320375). The backport has been in production at Amazon for two months and is stable.

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

Commit messages:
 - Merge branch 'master' into backport-8304074
 - Merge branch 'master' into backport-8304074
 - Backport 3eced01f9efe2567a07b63343f8559683a2d0517

Changes: https://git.openjdk.org/jdk17u-dev/pull/1971/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1971&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304074
  Stats: 295 lines in 11 files changed: 215 ins; 45 del; 35 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1971.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1971/head:pull/1971

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


More information about the jdk-updates-dev mailing list