IBM User Guide for Java V7 on Windows > Reference > Command-line options > -XX command-line options
-XX:-StackTraceInThrowable
This option removes stack traces from exceptions.
- -XX:-StackTraceInThrowable
- By default, stack traces are available in exceptions. Including a stack trace in exceptions requires walking the stack and that can affect performance. Removing stack traces from exceptions can improve performance but can also make problems harder to debug.
When this option is enabled, Throwable.getStackTrace() returns an empty array and the stack trace is displayed when an uncaught exception occurs. Thread.getStackTrace() and Thread.getAllStackTraces() are not affected by this option.
Parent: -XX command-line options
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.