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

Paul Hohensee phh at openjdk.org
Fri May 26 17:23:09 UTC 2023


On Thu, 25 May 2023 16:38:43 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> The original implementation grabbed this code from, e.g., test/jdk/java/lang/management/ThreadMXBean/ThreadUserTime.java. In the latter, InterruptedException causes the test to fail, but for some reason now lost, ThreadAllocatedMemory.java doesn't do that, but ThreadAllocatedMemoryArray.java does.
>
> Since you are on this file, it may be good to clean them up.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13814#discussion_r1207104630


More information about the hotspot-runtime-dev mailing list