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

2023-05-07 Thread David Holmes
On Fri, 5 May 2023 21:38:47 GMT, Paul Hohensee wrote: >> 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 metho

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

2023-05-07 Thread David Holmes
On Fri, 5 May 2023 21:21:28 GMT, Paul Hohensee wrote: > Afaiu, SMR/TLH keeps a terminated thread's TLS accessible, but doesn't stop > the termination process. Incorrect. A thread cannot complete the termination process if it is contained by a TLH - see ` ThreadsSMRSupport::smr_delete` and the