public class sun.tools.jstack.JStack
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.tools.jstack.JStack
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jstack.JStack this
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.tools.jstack.JStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jstack/JStack;

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=11, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 44
            aload 0 /* args */
            arraylength
            ifne 2
         1: .line 45
            iconst_1
            invokestatic sun.tools.jstack.JStack.usage:(I)V
         2: .line 48
      StackMap locals:
      StackMap stack:
            aload 0 /* args */
            invokestatic sun.tools.jstack.JStack.checkForUnsupportedOptions:([Ljava/lang/String;)V
         3: .line 50
            iconst_0
            istore 1 /* locks */
        start local 1 // boolean locks
         4: .line 51
            iconst_0
            istore 2 /* extended */
        start local 2 // boolean extended
         5: .line 54
            iconst_0
            istore 3 /* optionCount */
        start local 3 // int optionCount
         6: .line 55
            goto 24
         7: .line 56
      StackMap locals: int int int
      StackMap stack:
            aload 0 /* args */
            iload 3 /* optionCount */
            aaload
            astore 4 /* arg */
        start local 4 // java.lang.String arg
         8: .line 57
            aload 4 /* arg */
            ldc "-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 10
         9: .line 58
            goto 25
        10: .line 60
      StackMap locals: java.lang.String
      StackMap stack:
            aload 4 /* arg */
            ldc "-?"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
        11: .line 61
            aload 4 /* arg */
            ldc "-h"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
        12: .line 62
            aload 4 /* arg */
            ldc "--help"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
        13: .line 64
            aload 4 /* arg */
            ldc "-help"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 16
        14: .line 65
      StackMap locals:
      StackMap stack:
            iconst_0
            invokestatic sun.tools.jstack.JStack.usage:(I)V
        15: .line 66
            goto 23
        16: .line 68
      StackMap locals:
      StackMap stack:
            aload 4 /* arg */
            ldc "-l"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 19
        17: .line 69
            iconst_1
            istore 1 /* locks */
        18: .line 70
            goto 23
        19: .line 71
      StackMap locals:
      StackMap stack:
            aload 4 /* arg */
            ldc "-e"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 22
        20: .line 72
            iconst_1
            istore 2 /* extended */
        21: .line 73
            goto 23
        22: .line 74
      StackMap locals:
      StackMap stack:
            iconst_1
            invokestatic sun.tools.jstack.JStack.usage:(I)V
        23: .line 78
      StackMap locals:
      StackMap stack:
            iinc 3 /* optionCount */ 1
        end local 4 // java.lang.String arg
        24: .line 55
      StackMap locals:
      StackMap stack:
            iload 3 /* optionCount */
            aload 0 /* args */
            arraylength
            if_icmplt 7
        25: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* args */
            arraylength
            iload 3 /* optionCount */
            isub
            istore 4 /* paramCount */
        start local 4 // int paramCount
        26: .line 83
            iload 4 /* paramCount */
            iconst_1
            if_icmpeq 28
        27: .line 84
            iconst_1
            invokestatic sun.tools.jstack.JStack.usage:(I)V
        28: .line 88
      StackMap locals: int
      StackMap stack:
            aload 0 /* args */
            iload 3 /* optionCount */
            aaload
            astore 5 /* pidArg */
        start local 5 // java.lang.String pidArg
        29: .line 89
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc ""
            aastore
            astore 6 /* params */
        start local 6 // java.lang.String[] params
        30: .line 90
            iload 2 /* extended */
            ifeq 32
        31: .line 91
            aload 6 /* params */
            iconst_0
            dup2
            aaload
            new java.lang.StringBuilder
            dup_x1
            swap
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-e "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aastore
        32: .line 93
      StackMap locals: java.lang.String java.lang.String[]
      StackMap stack:
            iload 1 /* locks */
            ifeq 34
        33: .line 94
            aload 6 /* params */
            iconst_0
            dup2
            aaload
            new java.lang.StringBuilder
            dup_x1
            swap
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "-l"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aastore
        34: .line 97
      StackMap locals:
      StackMap stack:
            new sun.tools.common.ProcessArgumentMatcher
            dup
            aload 5 /* pidArg */
            invokespecial sun.tools.common.ProcessArgumentMatcher.<init>:(Ljava/lang/String;)V
            astore 7 /* ap */
        start local 7 // sun.tools.common.ProcessArgumentMatcher ap
        35: .line 98
            aload 7 /* ap */
            ldc Lsun/tools/jstack/JStack;
            invokevirtual sun.tools.common.ProcessArgumentMatcher.getVirtualMachinePids:(Ljava/lang/Class;)Ljava/util/Collection;
            astore 8 /* pids */
        start local 8 // java.util.Collection pids
        36: .line 100
            aload 8 /* pids */
            invokeinterface java.util.Collection.isEmpty:()Z
            ifeq 39
        37: .line 101
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Could not find any processes matching : '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* pidArg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        38: .line 102
            iconst_1
            invokestatic java.lang.System.exit:(I)V
        39: .line 105
      StackMap locals: sun.tools.common.ProcessArgumentMatcher java.util.Collection
      StackMap stack:
            aload 8 /* pids */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 10
            goto 44
      StackMap locals: java.lang.String[] int int int int java.lang.String java.lang.String[] sun.tools.common.ProcessArgumentMatcher java.util.Collection top java.util.Iterator
      StackMap stack:
        40: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 9 /* pid */
        start local 9 // java.lang.String pid
        41: .line 106
            aload 8 /* pids */
            invokeinterface java.util.Collection.size:()I
            iconst_1
            if_icmple 43
        42: .line 107
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Pid:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 9 /* pid */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        43: .line 109
      StackMap locals: java.lang.String[] int int int int java.lang.String java.lang.String[] sun.tools.common.ProcessArgumentMatcher java.util.Collection java.lang.String java.util.Iterator
      StackMap stack:
            aload 9 /* pid */
            aload 6 /* params */
            invokestatic sun.tools.jstack.JStack.runThreadDump:(Ljava/lang/String;[Ljava/lang/String;)V
        end local 9 // java.lang.String pid
        44: .line 105
      StackMap locals: java.lang.String[] int int int int java.lang.String java.lang.String[] sun.tools.common.ProcessArgumentMatcher java.util.Collection top java.util.Iterator
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 40
        45: .line 111
            return
        end local 8 // java.util.Collection pids
        end local 7 // sun.tools.common.ProcessArgumentMatcher ap
        end local 6 // java.lang.String[] params
        end local 5 // java.lang.String pidArg
        end local 4 // int paramCount
        end local 3 // int optionCount
        end local 2 // boolean extended
        end local 1 // boolean locks
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   46     0         args  [Ljava/lang/String;
            4   46     1        locks  Z
            5   46     2     extended  Z
            6   46     3  optionCount  I
            8   24     4          arg  Ljava/lang/String;
           26   46     4   paramCount  I
           29   46     5       pidArg  Ljava/lang/String;
           30   46     6       params  [Ljava/lang/String;
           35   46     7           ap  Lsun/tools/common/ProcessArgumentMatcher;
           36   46     8         pids  Ljava/util/Collection<Ljava/lang/String;>;
           41   44     9          pid  Ljava/lang/String;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      args  

  private static void runThreadDump(java.lang.String, java.lang.String[]);
    descriptor: (Ljava/lang/String;[Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.lang.String pid
        start local 1 // java.lang.String[] args
         0: .line 115
            aconst_null
            astore 2 /* vm */
        start local 2 // com.sun.tools.attach.VirtualMachine vm
         1: .line 117
            aload 0 /* pid */
            invokestatic com.sun.tools.attach.VirtualMachine.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
            astore 2 /* vm */
         2: .line 118
            goto 10
      StackMap locals: java.lang.String java.lang.String[] com.sun.tools.attach.VirtualMachine
      StackMap stack: java.lang.Exception
         3: astore 3 /* x */
        start local 3 // java.lang.Exception x
         4: .line 119
            aload 3 /* x */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            astore 4 /* msg */
        start local 4 // java.lang.String msg
         5: .line 120
            aload 4 /* msg */
            ifnull 8
         6: .line 121
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            aload 0 /* pid */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ": "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* msg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 122
            goto 9
         8: .line 123
      StackMap locals: java.lang.Exception java.lang.String
      StackMap stack:
            aload 3 /* x */
            invokevirtual java.lang.Exception.printStackTrace:()V
         9: .line 125
      StackMap locals:
      StackMap stack:
            iconst_1
            invokestatic java.lang.System.exit:(I)V
        end local 4 // java.lang.String msg
        end local 3 // java.lang.Exception x
        10: .line 130
      StackMap locals:
      StackMap stack:
            aload 2 /* vm */
            checkcast sun.tools.attach.HotSpotVirtualMachine
            aload 1 /* args */
            invokevirtual sun.tools.attach.HotSpotVirtualMachine.remoteDataDump:([Ljava/lang/Object;)Ljava/io/InputStream;
            astore 3 /* in */
        start local 3 // java.io.InputStream in
        11: .line 132
            aload 3 /* in */
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            invokestatic sun.tools.common.PrintStreamPrinter.drainUTF8:(Ljava/io/InputStream;Ljava/io/PrintStream;)J
            pop2
        12: .line 133
            aload 2 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
        13: .line 134
            return
        end local 3 // java.io.InputStream in
        end local 2 // com.sun.tools.attach.VirtualMachine vm
        end local 1 // java.lang.String[] args
        end local 0 // java.lang.String pid
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0   pid  Ljava/lang/String;
            0   14     1  args  [Ljava/lang/String;
            1   14     2    vm  Lcom/sun/tools/attach/VirtualMachine;
            4   10     3     x  Ljava/lang/Exception;
            5   10     4   msg  Ljava/lang/String;
           11   14     3    in  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.Exception
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      pid   
      args  

  private static void checkForUnsupportedOptions(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 140
            iconst_0
            istore 1 /* paramCount */
        start local 1 // int paramCount
         1: .line 142
            aload 0 /* args */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 10
      StackMap locals: java.lang.String[] int top int int java.lang.String[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* s */
        start local 2 // java.lang.String s
         3: .line 143
            aload 2 /* s */
            ldc "-F"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 5
         4: .line 144
            ldc "-F option used"
            invokestatic sun.tools.jstack.JStack.SAOptionError:(Ljava/lang/String;)V
         5: .line 147
      StackMap locals: java.lang.String[] int java.lang.String int int java.lang.String[]
      StackMap stack:
            aload 2 /* s */
            ldc "-m"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 7
         6: .line 148
            ldc "-m option used"
            invokestatic sun.tools.jstack.JStack.SAOptionError:(Ljava/lang/String;)V
         7: .line 151
      StackMap locals:
      StackMap stack:
            aload 2 /* s */
            ldc "-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 9
         8: .line 152
            iinc 1 /* paramCount */ 1
        end local 2 // java.lang.String s
         9: .line 142
      StackMap locals: java.lang.String[] int top int int java.lang.String[]
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
        10: iload 3
            iload 4
            if_icmplt 2
        11: .line 156
            iload 1 /* paramCount */
            iconst_1
            if_icmple 13
        12: .line 157
            ldc "More than one non-option argument"
            invokestatic sun.tools.jstack.JStack.SAOptionError:(Ljava/lang/String;)V
        13: .line 159
      StackMap locals: java.lang.String[] int
      StackMap stack:
            return
        end local 1 // int paramCount
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   14     0        args  [Ljava/lang/String;
            1   14     1  paramCount  I
            3    9     2           s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      args  

  private static void SAOptionError(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String msg
         0: .line 162
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Error: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* msg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 163
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Cannot connect to core dump or remote debug server. Use jhsdb jstack instead"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         2: .line 164
            iconst_1
            invokestatic java.lang.System.exit:(I)V
         3: .line 165
            return
        end local 0 // java.lang.String msg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0   msg  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      msg   

  private static void usage(int);
    descriptor: (I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // int exit
         0: .line 169
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Usage:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 170
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    jstack [-l][-e] <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         2: .line 171
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "        (to connect to running process)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 172
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 173
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Options:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         5: .line 174
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    -l  long listing. Prints additional information about locks"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 175
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    -e  extended listing. Prints additional information about threads"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 176
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    -? -h --help -help to print this help message"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 177
            iload 0 /* exit */
            invokestatic java.lang.System.exit:(I)V
         9: .line 178
            return
        end local 0 // int exit
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  exit  I
    MethodParameters:
      Name  Flags
      exit  
}
SourceFile: "JStack.java"