RFR: 8304074: [JMX] Add an approximation of total bytes allocated on the Java heap by the JVM [v20]
    Paul Hohensee 
    phh at openjdk.org
       
    Wed May 17 23:10:20 UTC 2023
    
    
  
> Please review this addition to com.sun.management.ThreadMXBean that returns the total number of bytes allocated on the Java heap since JVM launch by both terminated and live threads.
> 
> Because this PR adds a new interface method, I've updated the JMM_VERSION to 4, but would be happy to update it to 3_1 instead.
Paul Hohensee has updated the pull request incrementally with one additional commit since the last revision:
  8304074: incr_exited_allocated_bytes needs atomic load/store
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/13814/files
  - new: https://git.openjdk.org/jdk/pull/13814/files/effdefc6..3c543e60
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13814&range=19
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13814&range=18-19
  Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/13814.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13814/head:pull/13814
PR: https://git.openjdk.org/jdk/pull/13814
    
    
More information about the serviceability-dev
mailing list