I think it'd be very good idea that whenever a TimeoutException is thrown, the
stacktrace of the thread(s) holding locks is also printed out. The stacktrace of the
thread requesting the lock is already being printed.
I can see this being very useful from a troubleshooting point of view, specially in
situations when TRACE level logging can not be requested, i.e. production.
Such change would require changing the current lock implementations. We could take
advantage of the existing boolean print_lock_details parameter to IdentiyLock.toString to
and pass it on to the lock implementations, who contain the thread details.
Thoughts?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105973#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...