Causes garbage collection (GC) output from the
-verbose:gc option to be written to a specified file.
<filename>is the name of the file to which output is written. Dump agent tokens can be used in the filename.
If the file cannot be found, the file is created, and output is written to the new file.
If the file cannot be created (for example, if an invalid filename is specified), output is redirected to
If you do not specify a file name,
verbosegc.%Y%m%d.%H%M%S.%pid.txtis used (for example,
If you specify
<y>, output is redirected to
xfiles, each containing
By default, no verbose GC logging occurs.
- Dump agent tokens for more information.