CMS collection keep working during holiday

Tony Printezis Antonios.Printezis at
Thu Oct 9 13:54:47 UTC 2008

Y Srinivas Ramakrishna wrote:
> If you use jmap -histo:live <pid> from the command-line you will
> get a full gc before the histogram is computed. This full gc will
> be done despite having +DisableExplicitGC.
In fact, given that we want to find out what's growing in the heap 
during the CMS cycles (which seems to be GCed during Full GCs), it's 
better to use jmap -histo (i.e., no :live) to avoid the Full GC. But I'm 
forgetting: which VM Ken using? IIRC only jmap in 6 has the :live / no 
:live functionality (before that, it always did a Full GC, which is not 
what you want some of the time).


| Tony Printezis, Staff Engineer   | Sun Microsystems Inc.          |
|                                  | MS UBUR02-311                  |
| e-mail: tony.printezis at   | 35 Network Drive               |
| office: +1 781 442 0998 (x20998) | Burlington, MA 01803-2756, USA |
e-mail client: Thunderbird (Linux)

More information about the hotspot-gc-dev mailing list