safepoint accumulating time counter

Carsten Varming varming at gmail.com
Mon Feb 29 18:02:22 UTC 2016


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