Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 20, 21
-
b25
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8320374 | 17.0.11 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
JDK-8321536 | 11.0.23 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
JDK-8326086 | openjdk8u422 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
Description
Define a new com.sun.management.ThreadMXBean method getAllThreadAllocatedBytes() that, if both isAllocatedThreadMemorySupported() and isThreadAllocatedMemoryEnabled() are true, returns an approximation of the total number of bytes allocated in the Java heap by the JVM process.
Attachments
Issue Links
- backported by
-
JDK-8320374 [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
- Resolved
-
JDK-8321536 [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
- Resolved
-
JDK-8326086 [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
- Resolved
- csr for
-
JDK-8307396 [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM
- Closed
- relates to
-
JDK-8313081 MonitoringSupport_lock should be unconditionally initialized after 8304074
- Resolved
-
CODETOOLS-7903484 JMH: Use ThreadMXBean.getTotalThreadAllocatedBytes for -prof gc
- Resolved
- links to
-
Commit openjdk/jdk8u-dev/1fad52dc
-
Commit openjdk/jdk11u-dev/31064b1c
-
Commit openjdk/jdk17u-dev/0bbbd149
-
Commit openjdk/jdk/3eced01f
-
Review openjdk/jdk8u-dev/392
-
Review openjdk/jdk11u-dev/2286
-
Review openjdk/jdk17u-dev/1971
-
Review openjdk/jdk/13814