Note: This user guide is no longer maintained. For information about any updates that relate to this guide after service refresh 10, fix pack 25, see the following support document: IBM SDK, Java Technology Edition, Version 7: Current news
Removing dump agents
You can remove all default dump agents and any preceding dump options by using -Xdump:none.

-Xdump command-line syntax: the none option >>--Xdump:------------------------------------------------------> .-,---------------------------. | .-+-----------. | V V | | >--+-none---:---+-events=-----<event>---+-+-+----------------+->< | +-exec=<command>----------+ | | +-file=<filename>---------+ | | +-filter=<filter>---------+ | | +-opts=<options>----------+ | | +-priority=<0-999>--------+ | | +-range=<ranges>----------+ | | '-request=<requests>------' | | .-,---------------------------. | | .-+-------. | .-+-----------. | | | V | V V | | | '---<agent>-+-:none---:---+-events=-----<event>---+-+-+---' +-exec=<command>----------+ +-file=<filename>---------+ +-filter=<filter>---------+ +-opts=<options>----------+ +-priority=<0-999>--------+ +-range=<ranges>----------+ '-request=<requests>------'

Use this option so that you can subsequently specify a completely new dump configuration.
You can also remove dump agents of a particular type. Here are some examples:
To turn off all Heapdumps (including default agents) but leave
Javadump enabled, use the following option:
-Xdump:java+heap:events=vmstop -Xdump:heap:none
To turn off all dump agents for corruptcache events:
-Xdump:none:events=corruptcache

-Xdump:system:none:events=corruptcache


-Xdump:none:events=systhrow,filter=java/lang/OutOfMemoryError


-Xdump:system:none:events=systhrow,filter=java/lang/OutOfMemoryError

If you remove all dump
agents using -Xdump:none with no further -Xdump options,
the JVM still provides these basic diagnostic outputs:
- If a user signal (kill -QUIT) is sent to the JVM, a brief listing of the Java™ threads including their stacks, status, and monitor information is written to stderr.
- If a crash occurs, information about the location of the crash, JVM options, and native and Java stack traces are written to stderr. A system dump is also written to the user's home directory.
Tip: Removing dump agents and specifying a new dump configuration
can require a long set of command-line options. To reuse command-line
options, save the new dump configuration in a file and use the -Xoptionsfile option.
See Specifying command-line options for
more information on using a command-line options file.