void function ( ) { long [ ] loc0 = threadBean . findDeadlockedThreads ( ) ; if ( loc0 == null ) { return ; } dumpThreadsAndLocks ( "srini_string" , threadBean , loc0 ) ; }
checks if any threads are deadlocked . if any , print the thread dump information . concode_field_sep String INDENT concode_elem_sep Timer threadCheck concode_elem_sep ThreadMXBean threadBean concode_elem_sep ThreadDeadlockDetector detector concode_field_sep void init concode_elem_sep void printThreadInfo concode_elem_sep void printLockInfo concode_elem_sep void dumpThreadsAndLocks concode_elem_sep void dumpAllThreadsAndLocks concode_elem_sep void printThread