Couple of things on Thread.getAllStackTraces()
It leaks :). Fixed in 6u1
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434648
From:
http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace
anonymous wrote : This function returns the information provided by
Thread.getAllStackTraces(). This does not include the light weight thread id, which is
important for troubleshooting hung and spinning processes; therefore, it is recommended to
use the methods described above to obtain the stack trace if possible.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120231#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...