safepoint accumulating time counter
Brian Toal
brian.toal at gmail.com
Mon Feb 29 23:04:58 UTC 2016
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