jmx-dev RFR: 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM [v5]
Paul Hohensee
phh at openjdk.org
Tue May 16 04:35:56 UTC 2023
On Mon, 8 May 2023 02:15:03 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Paul Hohensee has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
>
> src/jdk.management/share/classes/com/sun/management/ThreadMXBean.java line 111:
>
>> 109: * Returns an approximation of the total amount of memory, in bytes,
>> 110: * allocated in heap memory since the Java virtual machine was launched,
>> 111: * including the amount allocated by terminated threads.
>
> This "including ..." part seems redundant - it is the value allocated since JVM launch.
Removed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13814#discussion_r1194446883
More information about the jmx-dev
mailing list