RFR - [RFE] JDK-8007141 : Introduce Dynamic MBean exposing the perf counters

Erik Gahlin erik.gahlin at oracle.com
Mon Feb 27 14:09:51 UTC 2017


Hi Harsha,

How will perf counters be supported?

Can they be removed at anytime, or only at major releases etc. Do we 
have tests for them? I think it would be good know, and perhaps state 
somewhere so we don't break people's code.

Erik

> Hi All,
>
> Please review the below RFE,
>
> JDK-8007141 <http://JDK-8007141> : Introduce Dynamic MBean exposing 
> the perf counters.
>
> with webrev at,
>
> http://cr.openjdk.java.net/~hb/8007141/webrev.00/
>
> Appreciate if I can get inputs for below.
>
> 1. Location of HotSpotPerfCounterMBean. It is located at 
> src/jdk.management/share/classes/com/sun/management/internal. It can 
> be moved to src/jdk.management/share/classes/com/sun/management if 
> required.
>
> 2. Javadoc comments for HotSpotPerfCounterMBean. Not sure if it is 
> adequate.
>
> 3. Description for each attribute of MBean. I am using getUnits(), 
> getVariability(), and getFlags() for description. I am not sure if 
> that is the right description. Appreciate inputs from someone who 
> knows perf counters well.
>
> Thanks
>
> Harsha
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20170227/0665e056/attachment.html>


More information about the serviceability-dev mailing list