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

Volker Simonis simonis at openjdk.org
Wed Nov 29 13:27:11 UTC 2023


On Mon, 27 Nov 2023 20:46:37 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
>
> Paul Hohensee has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8304974: Switch to @since 17.0.11

Thanks for updating the since tag. Still good.

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

Marked as reviewed by simonis (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/1971#pullrequestreview-1755258997


More information about the jdk-updates-dev mailing list