RFR (M): 8207266: ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread

Hohensee, Paul hohensee at amazon.com
Thu Aug 29 18:05:04 UTC 2019


Yes. See previous email.

Thanks,

On 8/29/19, 12:19 AM, "Alan Bateman" <Alan.Bateman at oracle.com> wrote:

    On 28/08/2019 23:58, Mandy Chung wrote:
    > Hi Paul,
    >
    > The CSR proposes this method in java.lang.management.ThreadMXBean as a 
    > Java SE feature.
    >
    > Has this been discussed with the GC team to commit measuring current 
    > thread's allocated bytes as Java SE feature?   Can this be supported 
    > by all JVM implementation?   What is the overhead if this is enabled 
    > by default?  Does it need to be disabled?   This metric is from TLAB 
    > that might be okay.  This needs advice/discussion with GC experts.
    The webrev adds it to jdk.management/com.sun.management.ThreadMXBean so 
    I suspect it is a typo in the CSR and the proposal is for it to be 
    JDK-specific.
    
    -Alan.
    



More information about the hotspot-gc-dev mailing list