public abstract class sun.jvm.hotspot.tools.Tool implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: sun.jvm.hotspot.tools.Tool
  super_class: java.lang.Object
{
  private sun.jvm.hotspot.HotSpotAgent agent;
    descriptor: Lsun/jvm/hotspot/HotSpotAgent;
    flags: (0x0002) ACC_PRIVATE

  private sun.jvm.hotspot.debugger.JVMDebugger jvmDebugger;
    descriptor: Lsun/jvm/hotspot/debugger/JVMDebugger;
    flags: (0x0002) ACC_PRIVATE

  private int debugeeType;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  protected static final int DEBUGEE_PID;
    descriptor: I
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  protected static final int DEBUGEE_CORE;
    descriptor: I
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  protected static final int DEBUGEE_REMOTE;
    descriptor: I
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            return
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/jvm/hotspot/tools/Tool;

  public void <init>(sun.jvm.hotspot.debugger.JVMDebugger);
    descriptor: (Lsun/jvm/hotspot/debugger/JVMDebugger;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.jvm.hotspot.tools.Tool this
        start local 1 // sun.jvm.hotspot.debugger.JVMDebugger d
         0: .line 50
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 51
            aload 0 /* this */
            aload 1 /* d */
            putfield sun.jvm.hotspot.tools.Tool.jvmDebugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
         2: .line 52
            return
        end local 1 // sun.jvm.hotspot.debugger.JVMDebugger d
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/jvm/hotspot/tools/Tool;
            0    3     1     d  Lsun/jvm/hotspot/debugger/JVMDebugger;
    MethodParameters:
      Name  Flags
      d     

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 55
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            areturn
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/jvm/hotspot/tools/Tool;

  protected boolean needsJavaPrefix();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 59
            iconst_1
            ireturn
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/jvm/hotspot/tools/Tool;

  protected void setAgent(sun.jvm.hotspot.HotSpotAgent);
    descriptor: (Lsun/jvm/hotspot/HotSpotAgent;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.jvm.hotspot.tools.Tool this
        start local 1 // sun.jvm.hotspot.HotSpotAgent a
         0: .line 63
            aload 0 /* this */
            aload 1 /* a */
            putfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
         1: .line 64
            return
        end local 1 // sun.jvm.hotspot.HotSpotAgent a
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/jvm/hotspot/tools/Tool;
            0    2     1     a  Lsun/jvm/hotspot/HotSpotAgent;
    MethodParameters:
      Name  Flags
      a     

  protected void setDebugeeType(int);
    descriptor: (I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.jvm.hotspot.tools.Tool this
        start local 1 // int dt
         0: .line 67
            aload 0 /* this */
            iload 1 /* dt */
            putfield sun.jvm.hotspot.tools.Tool.debugeeType:I
         1: .line 68
            return
        end local 1 // int dt
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/jvm/hotspot/tools/Tool;
            0    2     1    dt  I
    MethodParameters:
      Name  Flags
      dt    

  protected sun.jvm.hotspot.HotSpotAgent getAgent();
    descriptor: ()Lsun/jvm/hotspot/HotSpotAgent;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 71
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            areturn
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/jvm/hotspot/tools/Tool;

  protected int getDebugeeType();
    descriptor: ()I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 75
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.debugeeType:I
            ireturn
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/jvm/hotspot/tools/Tool;

  protected void printUsage();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 79
            aconst_null
            astore 1 /* name */
        start local 1 // java.lang.String name
         1: .line 80
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.needsJavaPrefix:()Z
            ifeq 4
         2: .line 81
            new java.lang.StringBuilder
            dup
            ldc "java "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* name */
         3: .line 82
            goto 5
         4: .line 83
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.getName:()Ljava/lang/String;
            astore 1 /* name */
         5: .line 85
      StackMap locals:
      StackMap stack:
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Usage: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " [option] <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
         6: .line 86
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "\t\t(to connect to a live java process)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 87
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "   or "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " [option] <executable> <core>"
            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
         8: .line 88
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "\t\t(to connect to a core file)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         9: .line 89
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "   or "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " [option] [server_id@]<remote server IP or hostname>"
            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
        10: .line 90
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "\t\t(to connect to a remote debug server)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        11: .line 91
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            invokevirtual java.io.PrintStream.println:()V
        12: .line 92
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "where option must be one of:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        13: .line 93
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.printFlagsUsage:()V
        14: .line 94
            return
        end local 1 // java.lang.String name
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Lsun/jvm/hotspot/tools/Tool;
            1   15     1  name  Ljava/lang/String;

  protected void printFlagsUsage();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 97
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -h | -help\tto print this help message"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 98
            return
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/jvm/hotspot/tools/Tool;

  protected void usage();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 101
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.printUsage:()V
         1: .line 102
            return
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/jvm/hotspot/tools/Tool;

  protected void execute(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // sun.jvm.hotspot.tools.Tool this
        start local 1 // java.lang.String[] args
         0: .line 115
            iconst_1
            istore 2 /* returnStatus */
        start local 2 // int returnStatus
         1: .line 118
            aload 0 /* this */
            aload 1 /* args */
            invokevirtual sun.jvm.hotspot.tools.Tool.start:([Ljava/lang/String;)I
            istore 2 /* returnStatus */
         2: .line 119
            goto 9
      StackMap locals: sun.jvm.hotspot.tools.Tool java.lang.String[] int
      StackMap stack: java.lang.Throwable
         3: astore 3 /* t */
        start local 3 // java.lang.Throwable t
         4: .line 120
            aload 3 /* t */
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
        end local 3 // java.lang.Throwable t
         5: .line 122
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.stop:()V
            goto 10
         6: .line 121
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
         7: .line 122
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.stop:()V
         8: .line 123
            aload 4
            athrow
         9: .line 122
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.stop:()V
        10: .line 126
      StackMap locals:
      StackMap stack:
            iload 2 /* returnStatus */
            invokestatic java.lang.System.exit:(I)V
        11: .line 127
            return
        end local 2 // int returnStatus
        end local 1 // java.lang.String[] args
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0          this  Lsun/jvm/hotspot/tools/Tool;
            0   12     1          args  [Ljava/lang/String;
            1   12     2  returnStatus  I
            4    5     3             t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.Throwable
           1     5       6  any
    MethodParameters:
      Name  Flags
      args  

  public void stop();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 130
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            ifnull 2
         1: .line 131
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            invokevirtual sun.jvm.hotspot.HotSpotAgent.detach:()Z
            pop
         2: .line 133
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/jvm/hotspot/tools/Tool;

  private int start(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=9, args_size=2
        start local 0 // sun.jvm.hotspot.tools.Tool this
        start local 1 // java.lang.String[] args
         0: .line 137
            aload 1 /* args */
            arraylength
            iconst_1
            if_icmplt 1
            aload 1 /* args */
            arraylength
            iconst_2
            if_icmple 3
         1: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
         2: .line 139
            iconst_1
            ireturn
         3: .line 143
      StackMap locals:
      StackMap stack:
            aload 1 /* args */
            iconst_0
            aaload
            ldc "-h"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 6
         4: .line 144
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
         5: .line 145
            iconst_0
            ireturn
         6: .line 146
      StackMap locals:
      StackMap stack:
            aload 1 /* args */
            iconst_0
            aaload
            ldc "-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 9
         7: .line 147
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
         8: .line 148
            iconst_1
            ireturn
         9: .line 151
      StackMap locals:
      StackMap stack:
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            astore 2 /* err */
        start local 2 // java.io.PrintStream err
        10: .line 152
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            astore 3 /* out */
        start local 3 // java.io.PrintStream out
        11: .line 154
            iconst_0
            istore 4 /* pid */
        start local 4 // int pid
        12: .line 155
            aconst_null
            astore 5 /* coreFileName */
        start local 5 // java.lang.String coreFileName
        13: .line 156
            aconst_null
            astore 6 /* executableName */
        start local 6 // java.lang.String executableName
        14: .line 157
            aconst_null
            astore 7 /* remoteServer */
        start local 7 // java.lang.String remoteServer
        15: .line 159
            aload 1 /* args */
            arraylength
            tableswitch { // 1 - 2
                    1: 16
                    2: 23
              default: 27
          }
        16: .line 162
      StackMap locals: sun.jvm.hotspot.tools.Tool java.lang.String[] java.io.PrintStream java.io.PrintStream int java.lang.String java.lang.String java.lang.String
      StackMap stack:
            aload 1 /* args */
            iconst_0
            aaload
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 4 /* pid */
        17: .line 163
            aload 0 /* this */
            iconst_0
            putfield sun.jvm.hotspot.tools.Tool.debugeeType:I
        18: .line 164
            goto 29
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
        19: pop
        20: .line 166
            aload 1 /* args */
            iconst_0
            aaload
            astore 7 /* remoteServer */
        21: .line 167
            aload 0 /* this */
            iconst_2
            putfield sun.jvm.hotspot.tools.Tool.debugeeType:I
        22: .line 169
            goto 29
        23: .line 172
      StackMap locals:
      StackMap stack:
            aload 1 /* args */
            iconst_0
            aaload
            astore 6 /* executableName */
        24: .line 173
            aload 1 /* args */
            iconst_1
            aaload
            astore 5 /* coreFileName */
        25: .line 174
            aload 0 /* this */
            iconst_1
            putfield sun.jvm.hotspot.tools.Tool.debugeeType:I
        26: .line 175
            goto 29
        27: .line 178
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
        28: .line 179
            iconst_1
            ireturn
        29: .line 182
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new sun.jvm.hotspot.HotSpotAgent
            dup
            invokespecial sun.jvm.hotspot.HotSpotAgent.<init>:()V
            putfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
        30: .line 184
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.debugeeType:I
            tableswitch { // 0 - 2
                    0: 31
                    1: 34
                    2: 39
              default: 41
          }
        31: .line 186
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            new java.lang.StringBuilder
            dup
            ldc "Attaching to process ID "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 4 /* pid */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", please wait..."
            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
        32: .line 187
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            iload 4 /* pid */
            invokevirtual sun.jvm.hotspot.HotSpotAgent.attach:(I)V
        33: .line 188
            goto 54
        34: .line 191
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            new java.lang.StringBuilder
            dup
            ldc "Attaching to core "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* coreFileName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        35: .line 192
            ldc " from executable "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 6 /* executableName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ", please wait..."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        36: .line 191
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        37: .line 193
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            aload 6 /* executableName */
            aload 5 /* coreFileName */
            invokevirtual sun.jvm.hotspot.HotSpotAgent.attach:(Ljava/lang/String;Ljava/lang/String;)V
        38: .line 194
            goto 54
        39: .line 197
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            new java.lang.StringBuilder
            dup
            ldc "Attaching to remote server "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* remoteServer */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ", please wait..."
            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
        40: .line 198
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            aload 7 /* remoteServer */
            invokevirtual sun.jvm.hotspot.HotSpotAgent.attach:(Ljava/lang/String;)V
        41: .line 201
      StackMap locals:
      StackMap stack:
            goto 54
        42: .line 202
      StackMap locals:
      StackMap stack: sun.jvm.hotspot.debugger.DebuggerException
            astore 8 /* e */
        start local 8 // sun.jvm.hotspot.debugger.DebuggerException e
        43: .line 203
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.debugeeType:I
            tableswitch { // 0 - 2
                    0: 44
                    1: 46
                    2: 48
              default: 49
          }
        44: .line 205
      StackMap locals: sun.jvm.hotspot.debugger.DebuggerException
      StackMap stack:
            aload 2 /* err */
            ldc "Error attaching to process: "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        45: .line 206
            goto 49
        46: .line 209
      StackMap locals:
      StackMap stack:
            aload 2 /* err */
            ldc "Error attaching to core file: "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        47: .line 210
            goto 49
        48: .line 213
      StackMap locals:
      StackMap stack:
            aload 2 /* err */
            ldc "Error attaching to remote server: "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        49: .line 216
      StackMap locals:
      StackMap stack:
            aload 8 /* e */
            invokevirtual sun.jvm.hotspot.debugger.DebuggerException.getMessage:()Ljava/lang/String;
            ifnull 52
        50: .line 217
            aload 2 /* err */
            aload 8 /* e */
            invokevirtual sun.jvm.hotspot.debugger.DebuggerException.getMessage:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        51: .line 218
            aload 8 /* e */
            invokevirtual sun.jvm.hotspot.debugger.DebuggerException.printStackTrace:()V
        52: .line 220
      StackMap locals:
      StackMap stack:
            aload 2 /* err */
            invokevirtual java.io.PrintStream.println:()V
        53: .line 221
            iconst_1
            ireturn
        end local 8 // sun.jvm.hotspot.debugger.DebuggerException e
        54: .line 224
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            ldc "Debugger attached successfully."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        55: .line 225
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.startInternal:()V
        56: .line 226
            iconst_0
            ireturn
        end local 7 // java.lang.String remoteServer
        end local 6 // java.lang.String executableName
        end local 5 // java.lang.String coreFileName
        end local 4 // int pid
        end local 3 // java.io.PrintStream out
        end local 2 // java.io.PrintStream err
        end local 1 // java.lang.String[] args
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   57     0            this  Lsun/jvm/hotspot/tools/Tool;
            0   57     1            args  [Ljava/lang/String;
           10   57     2             err  Ljava/io/PrintStream;
           11   57     3             out  Ljava/io/PrintStream;
           12   57     4             pid  I
           13   57     5    coreFileName  Ljava/lang/String;
           14   57     6  executableName  Ljava/lang/String;
           15   57     7    remoteServer  Ljava/lang/String;
           43   54     8               e  Lsun/jvm/hotspot/debugger/DebuggerException;
      Exception table:
        from    to  target  type
          16    18      19  Class java.lang.NumberFormatException
          30    41      42  Class sun.jvm.hotspot.debugger.DebuggerException
    MethodParameters:
      Name  Flags
      args  

  public void start();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 232
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.jvmDebugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
            ifnonnull 2
         1: .line 233
            new java.lang.RuntimeException
            dup
            ldc "Tool.start() called with no JVMDebugger set."
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 235
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new sun.jvm.hotspot.HotSpotAgent
            dup
            invokespecial sun.jvm.hotspot.HotSpotAgent.<init>:()V
            putfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
         3: .line 236
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.jvmDebugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
            invokevirtual sun.jvm.hotspot.HotSpotAgent.attach:(Lsun/jvm/hotspot/debugger/JVMDebugger;)V
         4: .line 237
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.startInternal:()V
         5: .line 238
            return
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/jvm/hotspot/tools/Tool;

  private void startInternal();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // sun.jvm.hotspot.tools.Tool this
         0: .line 243
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            astore 1 /* out */
        start local 1 // java.io.PrintStream out
         1: .line 244
            invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
            astore 2 /* vm */
        start local 2 // sun.jvm.hotspot.runtime.VM vm
         2: .line 245
            aload 2 /* vm */
            invokevirtual sun.jvm.hotspot.runtime.VM.isCore:()Z
            ifeq 5
         3: .line 246
            aload 1 /* out */
            ldc "Core build detected."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 247
            goto 12
      StackMap locals: java.io.PrintStream sun.jvm.hotspot.runtime.VM
      StackMap stack:
         5: aload 2 /* vm */
            invokevirtual sun.jvm.hotspot.runtime.VM.isClientCompiler:()Z
            ifeq 8
         6: .line 248
            aload 1 /* out */
            ldc "Client compiler detected."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 249
            goto 12
      StackMap locals:
      StackMap stack:
         8: aload 2 /* vm */
            invokevirtual sun.jvm.hotspot.runtime.VM.isServerCompiler:()Z
            ifeq 11
         9: .line 250
            aload 1 /* out */
            ldc "Server compiler detected."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        10: .line 251
            goto 12
        11: .line 252
      StackMap locals:
      StackMap stack:
            new java.lang.RuntimeException
            dup
            ldc "Fatal error: should have been able to detect core/C1/C2 build"
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 256
      StackMap locals:
      StackMap stack:
            aload 2 /* vm */
            invokevirtual sun.jvm.hotspot.runtime.VM.getVMRelease:()Ljava/lang/String;
            astore 3 /* version */
        start local 3 // java.lang.String version
        13: .line 257
            aload 3 /* version */
            ifnull 16
        14: .line 258
            aload 1 /* out */
            ldc "JVM version is "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        15: .line 259
            aload 1 /* out */
            aload 3 /* version */
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        16: .line 262
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.run:()V
        17: .line 263
            return
        end local 3 // java.lang.String version
        end local 2 // sun.jvm.hotspot.runtime.VM vm
        end local 1 // java.io.PrintStream out
        end local 0 // sun.jvm.hotspot.tools.Tool this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   18     0     this  Lsun/jvm/hotspot/tools/Tool;
            1   18     1      out  Ljava/io/PrintStream;
            2   18     2       vm  Lsun/jvm/hotspot/runtime/VM;
           13   18     3  version  Ljava/lang/String;
}
SourceFile: "Tool.java"