-XX:[+|-]JavaLogAsynchronous
- Organization of this page
Format
- -XX:+JavaLogAsynchronous
-
This option enables the asynchronous log file output functionality.
- -XX:-JavaLogAsynchronous
-
This option disables the asynchronous log file output functionality.
Description
This option can be used to specify whether to enable the asynchronous log file output functionality.
If you enable the asynchronous log file output functionality and specify the line length of stack traces to be output by using the -XX:HitachiOutOfMemoryStackTraceLineSize or -XX:HitachiJavaClassLibTraceLineSize option, the maximum length that can be set is 4096 bytes. You cannot set a line length longer than 4096 bytes even if you specify a length longer than 4096 bytes.
If the specified number of bytes cannot be secured, the functionality outputs a warning message without outputting a stack trace. If the data to be output on one line is longer than the specified length, the first half portion of the character string from at onwards is deleted and the specified number of characters is output.
- Default value
-
-
-XX:-JavaLogAsynchronous
-