5 Replies Latest reply on Jan 15, 2008 12:14 PM by Galder Zamarreño

    TimeoutException printing stacktraces of threads holding loc

    Galder Zamarreño Master

      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?