You can remove all default dump agents and any preceding
dump options by using -Xdump:none.
Use this option so that you can subsequently specify a completely
new dump configuration.
You can also remove dump agents of a particular type. For example,
to turn off all Heapdumps (including default agents) but leave Javadump
enabled, use the following option:
-Xdump:java+heap:events=vmstop -Xdump:heap:none
If you remove all dump
agents using
-Xdump:none with no further
-Xdump options,
the JVM still provides these basic diagnostics:
- 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.