safepoint accumulating time counter
kirk.pepperdine at gmail.com
kirk.pepperdine at gmail.com
Wed Mar 2 11:34:04 UTC 2016
Hi Brian,
You can see the name of the MXBean interface in the metadata view. In that view you can see that the Diagnostic MXBean is not the one you are looking for. It would seem that this MXBean has not been registered with the PlatformMBeanServer.
Regards,
Kirk
> On Feb 29, 2016, at 5:04 PM, Brian Toal <brian.toal at gmail.com> wrote:
>
> When I pull up jconsole and connect to a 1.8 runtime, I see
> com.sun.management (not sun.management) and under the HotSpotDiagnostic
> MBean I don't see any of the attributes mentioned. Is there something I
> need to do to enable the sun.management.HotspotRuntimeMBean?
>
> On Mon, Feb 29, 2016 at 10:02 AM, Carsten Varming <varming at gmail.com> wrote:
>
>> Dear Brian,
>>
>> I believe the HotspotRuntimeMBean[1] exports total time spent in
>> safepoints.
>>
>> [1]:
>> http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/file/5972ad24ef27/src/share/classes/sun/management/HotspotRuntimeMBean.java
>>
>> Carsten
>>
>> On Mon, Feb 29, 2016 at 12:35 PM, charlie hunt <charlie.hunt at oracle.com>
>> wrote:
>>
>>> Hi Brian,
>>>
>>> Nice to hear from you!
>>>
>>> Look at +PrintSafepointStatistics. I think you will figure it out from
>>> there.
>>>
>>> AFAIR, info is not exposed in an MBean.
>>>
>>> hths,
>>>
>>> Charlie
>>>
>>>> On Feb 29, 2016, at 10:32 AM, Brian Toal <brian.toal at gmail.com> wrote:
>>>>
>>>> Hi, does the JVM expose total time spent in safepoints via an MBean or
>>>> another mechanism other than PrintGCApplicationStoppedTime?
>>> Specifically,
>>>> I'm curious whether this feature exists in Java 8.
>>>
>>
>>
More information about the hotspot-dev
mailing list