public class com.codahale.metrics.jvm.ThreadDeadlockDetector
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.codahale.metrics.jvm.ThreadDeadlockDetector
  super_class: java.lang.Object
{
  private static final int MAX_STACK_TRACE_DEPTH;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 100

  private final java.lang.management.ThreadMXBean threads;
    descriptor: Ljava/lang/management/ThreadMXBean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.codahale.metrics.jvm.ThreadDeadlockDetector this
         0: .line 22
            aload 0 /* this */
            invokestatic java.lang.management.ManagementFactory.getThreadMXBean:()Ljava/lang/management/ThreadMXBean;
            invokespecial com.codahale.metrics.jvm.ThreadDeadlockDetector.<init>:(Ljava/lang/management/ThreadMXBean;)V
         1: .line 23
            return
        end local 0 // com.codahale.metrics.jvm.ThreadDeadlockDetector this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/codahale/metrics/jvm/ThreadDeadlockDetector;

  public void <init>(java.lang.management.ThreadMXBean);
    descriptor: (Ljava/lang/management/ThreadMXBean;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.codahale.metrics.jvm.ThreadDeadlockDetector this
        start local 1 // java.lang.management.ThreadMXBean threads
         0: .line 30
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 31
            aload 0 /* this */
            aload 1 /* threads */
            putfield com.codahale.metrics.jvm.ThreadDeadlockDetector.threads:Ljava/lang/management/ThreadMXBean;
         2: .line 32
            return
        end local 1 // java.lang.management.ThreadMXBean threads
        end local 0 // com.codahale.metrics.jvm.ThreadDeadlockDetector this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lcom/codahale/metrics/jvm/ThreadDeadlockDetector;
            0    3     1  threads  Ljava/lang/management/ThreadMXBean;
    MethodParameters:
         Name  Flags
      threads  

  public java.util.Set<java.lang.String> getDeadlockedThreads();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=12, args_size=1
        start local 0 // com.codahale.metrics.jvm.ThreadDeadlockDetector this
         0: .line 41
            aload 0 /* this */
            getfield com.codahale.metrics.jvm.ThreadDeadlockDetector.threads:Ljava/lang/management/ThreadMXBean;
            invokeinterface java.lang.management.ThreadMXBean.findDeadlockedThreads:()[J
            astore 1 /* ids */
        start local 1 // long[] ids
         1: .line 42
            aload 1 /* ids */
            ifnull 24
         2: .line 43
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 2 /* deadlocks */
        start local 2 // java.util.Set deadlocks
         3: .line 44
            aload 0 /* this */
            getfield com.codahale.metrics.jvm.ThreadDeadlockDetector.threads:Ljava/lang/management/ThreadMXBean;
            aload 1 /* ids */
            bipush 100
            invokeinterface java.lang.management.ThreadMXBean.getThreadInfo:([JI)[Ljava/lang/management/ThreadInfo;
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 22
      StackMap locals: com.codahale.metrics.jvm.ThreadDeadlockDetector long[] java.util.Set top int int java.lang.management.ThreadInfo[]
      StackMap stack:
         4: aload 6
            iload 4
            aaload
            astore 3 /* info */
        start local 3 // java.lang.management.ThreadInfo info
         5: .line 45
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 7 /* stackTrace */
        start local 7 // java.lang.StringBuilder stackTrace
         6: .line 46
            aload 3 /* info */
            invokevirtual java.lang.management.ThreadInfo.getStackTrace:()[Ljava/lang/StackTraceElement;
            dup
            astore 11
            arraylength
            istore 10
            iconst_0
            istore 9
            goto 12
      StackMap locals: com.codahale.metrics.jvm.ThreadDeadlockDetector long[] java.util.Set java.lang.management.ThreadInfo int int java.lang.management.ThreadInfo[] java.lang.StringBuilder top int int java.lang.StackTraceElement[]
      StackMap stack:
         7: aload 11
            iload 9
            aaload
            astore 8 /* element */
        start local 8 // java.lang.StackTraceElement element
         8: .line 47
            aload 7 /* stackTrace */
            ldc "\t at "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 48
            aload 8 /* element */
            invokevirtual java.lang.StackTraceElement.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        10: .line 49
            ldc "%n"
            iconst_0
            anewarray java.lang.Object
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 8 // java.lang.StackTraceElement element
        11: .line 46
            iinc 9 1
      StackMap locals:
      StackMap stack:
        12: iload 9
            iload 10
            if_icmplt 7
        13: .line 52
            aload 2 /* deadlocks */
        14: .line 53
            ldc "%s locked on %s (owned by %s):%n%s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
        15: .line 54
            aload 3 /* info */
            invokevirtual java.lang.management.ThreadInfo.getThreadName:()Ljava/lang/String;
            aastore
            dup
            iconst_1
        16: .line 55
            aload 3 /* info */
            invokevirtual java.lang.management.ThreadInfo.getLockName:()Ljava/lang/String;
            aastore
            dup
            iconst_2
        17: .line 56
            aload 3 /* info */
            invokevirtual java.lang.management.ThreadInfo.getLockOwnerName:()Ljava/lang/String;
            aastore
            dup
            iconst_3
        18: .line 57
            aload 7 /* stackTrace */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aastore
        19: .line 53
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        20: .line 52
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // java.lang.StringBuilder stackTrace
        end local 3 // java.lang.management.ThreadInfo info
        21: .line 44
            iinc 4 1
      StackMap locals: com.codahale.metrics.jvm.ThreadDeadlockDetector long[] java.util.Set top int int java.lang.management.ThreadInfo[]
      StackMap stack:
        22: iload 4
            iload 5
            if_icmplt 4
        23: .line 61
            aload 2 /* deadlocks */
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            areturn
        end local 2 // java.util.Set deadlocks
        24: .line 63
      StackMap locals: com.codahale.metrics.jvm.ThreadDeadlockDetector long[]
      StackMap stack:
            invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
            areturn
        end local 1 // long[] ids
        end local 0 // com.codahale.metrics.jvm.ThreadDeadlockDetector this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   25     0        this  Lcom/codahale/metrics/jvm/ThreadDeadlockDetector;
            1   25     1         ids  [J
            3   24     2   deadlocks  Ljava/util/Set<Ljava/lang/String;>;
            5   21     3        info  Ljava/lang/management/ThreadInfo;
            6   21     7  stackTrace  Ljava/lang/StringBuilder;
            8   11     8     element  Ljava/lang/StackTraceElement;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;
}
SourceFile: "ThreadDeadlockDetector.java"