request option

Use the request option to ask the JVM to prepare the state before starting the dump agent.

The available options are listed in the following table:
Option value Description
exclusive Request exclusive access to the JVM.
compact Run garbage collection. This option removes all unreachable objects from the heap before the dump is generated.
prepwalk Prepare the heap for walking. You must also specify exclusive when using this option.
serial Suspend other dumps until this one has completed.

In general, the default request options are sufficient.

You can specify more than one request option using +. For example:

-Xdump:heap:request=exclusive+compact+prepwalk



© 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/)