PrepAway - Latest Free Exam Questions & Answers

What does the following JVM argument do?

What does the following JVM argument do?
-Xverbosegclog:${SERVER_LOG_ROOT}/verbose.m%d.7/18/16M%S.%pid.txt,20,10000

PrepAway - Latest Free Exam Questions & Answers

A.
It changes the default values for verbosegc logging.

B.
It changes the default location of the verbosegc logging.

C.
It configured verbosegc logging once it has already been enabled.

D.
It sets the default value for enabling and configuring verbosegc logging.

Explanation:
-Xverbosegclog[: <file> [,<X>,<Y>]]
Causes -verbose:gc output to be written to the specified file.
If it cannot create the file (for example, if an invalid filename is passed into the command), it will redirect the
output to stderr.
If you specify <X> and <Y> the -verbose:gc output is redirected to <X> files, each containing <Y> GC cycles.
The dump agent tokens can be used in the filename. See Dump agent tokens for more information. If you do
not specify <file>, verbosegc.%Y%m%d.%H%M%S.%pid.txt is used.
example: -Xverbosegclog:newgclogname.log,7,10000
http://www-01.ibm.com/support/docview.wss?uid=swg21384096


Leave a Reply