range option

You can start and stop dump agents on a particular occurrence of a JVM event by using the range suboption.

For example:
-Xdump:java:events=fullgc,range=100..200
Note: range=1..0 against an event means "on every occurrence".

The JVM default dump agents have the range option set to 1..0 for all events except systhrow. All systhrow events with filter=java/lang/OutOfMemoryError have the range set to 1..4, which limits the number of dumps produced on OutOfMemory conditions to a maximum of 4. For more information, see Default dump agents

If you add a new dump agent and do not specify the range, a default of 1..0 is used.



© Copyright IBM Corporation 2005, 2010. All Rights Reserved.
© Copyright Sun Microsystems, Inc. 1997, 2007, 901 San Antonio Rd., Palo Alto, CA 94303 USA. All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
This information center is powered by Eclipse technology. (http://www.eclipse.org/)