Relates :
|
|
Relates :
|
Unlike Throwable, Thread.dumpStack() is used purely for troubleshooting and not performance critical. Therefore, Thread.dumpStack() could use the StackWalker API to output the stack trace, instead of constructing a throw-away Exception.
|