[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-gc-dev
Subject:    Tracking CMS "stop the world" times from JMX or in-vm
From:       Mandy.Chung () Sun ! COM (Mandy Chung)
Date:       2009-02-20 20:01:54
Message-ID: 499F0C32.3020400 () sun ! com
[Download RAW message or body]

The "stop the world" time is maintained in the jvmstat counters but is 
not exposed in the public API.  It's in 
src/share/vm/services/runtimeService.cpp.  There is a RFE 4975677 to 
implement the GC mbeans for CMS to expose CMS-specific information. 

Mandy

Bob Cotton wrote:
> 5u17 Linux
>
> We are working out the details of moving to the CMS GC (and stopping 
> RMI from doing a full gc)
>
> In the past we have used the GC mbean to monitor the amount of time 
> spent doing full GCs. Now, not so much.
>
> Is is possible to monitor the total "stop the world" time from jmx, or 
> internally from the VM? I'm aware of the options 
> XX:+PrintGCApplicationStoppedTime 
> -XX:+PrintGCApplicationConcurrentTime to log that info, but it would 
> be great to have that info available elsewhere.
>
> Thanks
>  -Bob



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic