Does getting a stack trace of a Java thread calling Thread.getStackTrace()
have any impact on its performace?
EDIT: for monitoring purposes I would like to get stack traces of some monitored threads. I understand that parsing the stack of a thread could be a time consuming operation. In my case the most critical is that the performance of the thread for which the stack trace is being constructed is not affected.