[jdk17u-dev] Integrated: 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
Paul Hohensee
phh at openjdk.org
Thu Dec 7 16:12:36 UTC 2023
On Sun, 19 Nov 2023 22:04:46 GMT, Paul Hohensee <phh at openjdk.org> wrote:
> 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). A follow-up bugfix backport of [JDK-8313081](https://bugs.openjdk.org/browse/JDK-8313081) will be done following this backport. The combined backports have been in production at Amazon for two months with no issues. The backport uses the reserved6 slot in jmm.h in order to preserve binary compatibility with 17u. Per current policy, there is no update to JMM_VERSION in jmm.h and the new method is marked
>
> @since 17.0.11
This pull request has now been integrated.
Changeset: 0bbbd149
Author: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/0bbbd149bf6d9cb2bf7727788f99e41b85675dc4
Stats: 295 lines in 11 files changed: 215 ins; 45 del; 35 mod
8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
Reviewed-by: simonis
Backport-of: 3eced01f9efe2567a07b63343f8559683a2d0517
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/1971
More information about the jdk-updates-dev
mailing list