@Override
    public int getDeadLockedThreadCount() {
        try {
            long[] deadLockedThreadIds = threadMXBean.findDeadlockedThreads();
            if (deadLockedThreadIds == null) {
                return 0;
            }
            return deadLockedThreadIds.length;
        } catch (Exception e) {
            throw new IllegalStateException(e.getMessage(), e);
        }
    }
@author Robert HG (254963746@qq.com) on 9/15/15.
lts-core/src/main/java/com/github/ltsopensource/jvmmonitor/mbean/JVMThread.java