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=4, 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 6
      StackMap locals: sun.jvm.hotspot.tools.Tool java.lang.String[] int
      StackMap stack: java.lang.Throwable
         3: astore 3
         4: .line 120
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.stop:()V
         5: .line 121
            aload 3
            athrow
         6: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.stop:()V
         7: .line 124
            iload 2 /* returnStatus */
            invokestatic java.lang.System.exit:(I)V
         8: .line 125
            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    9     0          this  Lsun/jvm/hotspot/tools/Tool;
            0    9     1          args  [Ljava/lang/String;
            1    9     2  returnStatus  I
      Exception table:
        from    to  target  type
           1     3       3  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 128
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            ifnull 2
         1: .line 129
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.agent:Lsun/jvm/hotspot/HotSpotAgent;
            invokevirtual sun.jvm.hotspot.HotSpotAgent.detach:()Z
            pop
         2: .line 131
      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 135
            aload 1 /* args */
            arraylength
            iconst_1
            if_icmplt 1
            aload 1 /* args */
            arraylength
            iconst_2
            if_icmple 3
         1: .line 136
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
         2: .line 137
            iconst_1
            ireturn
         3: .line 141
      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 142
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
         5: .line 143
            iconst_0
            ireturn
         6: .line 144
      StackMap locals:
      StackMap stack:
            aload 1 /* args */
            iconst_0
            aaload
            ldc "-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 9
         7: .line 145
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
         8: .line 146
            iconst_1
            ireturn
         9: .line 149
      StackMap locals:
      StackMap stack:
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            astore 2 /* err */
        start local 2 // java.io.PrintStream err
        10: .line 150
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            astore 3 /* out */
        start local 3 // java.io.PrintStream out
        11: .line 152
            iconst_0
            istore 4 /* pid */
        start local 4 // int pid
        12: .line 153
            aconst_null
            astore 5 /* coreFileName */
        start local 5 // java.lang.String coreFileName
        13: .line 154
            aconst_null
            astore 6 /* executableName */
        start local 6 // java.lang.String executableName
        14: .line 155
            aconst_null
            astore 7 /* remoteServer */
        start local 7 // java.lang.String remoteServer
        15: .line 157
            aload 1 /* args */
            arraylength
            tableswitch { // 1 - 2
                    1: 16
                    2: 23
              default: 27
          }
        16: .line 160
      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 161
            aload 0 /* this */
            iconst_0
            putfield sun.jvm.hotspot.tools.Tool.debugeeType:I
        18: .line 162
            goto 29
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
        19: pop
        20: .line 164
            aload 1 /* args */
            iconst_0
            aaload
            astore 7 /* remoteServer */
        21: .line 165
            aload 0 /* this */
            iconst_2
            putfield sun.jvm.hotspot.tools.Tool.debugeeType:I
        22: .line 167
            goto 29
        23: .line 170
      StackMap locals:
      StackMap stack:
            aload 1 /* args */
            iconst_0
            aaload
            astore 6 /* executableName */
        24: .line 171
            aload 1 /* args */
            iconst_1
            aaload
            astore 5 /* coreFileName */
        25: .line 172
            aload 0 /* this */
            iconst_1
            putfield sun.jvm.hotspot.tools.Tool.debugeeType:I
        26: .line 173
            goto 29
        27: .line 176
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.usage:()V
        28: .line 177
            iconst_1
            ireturn
        29: .line 180
      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 182
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.debugeeType:I
            tableswitch { // 0 - 2
                    0: 31
                    1: 34
                    2: 39
              default: 41
          }
        31: .line 184
      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 185
            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 186
            goto 54
        34: .line 189
      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 190
            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 189
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        37: .line 191
            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 192
            goto 54
        39: .line 195
      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 196
            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 199
      StackMap locals:
      StackMap stack:
            goto 54
        42: .line 200
      StackMap locals:
      StackMap stack: sun.jvm.hotspot.debugger.DebuggerException
            astore 8 /* e */
        start local 8 // sun.jvm.hotspot.debugger.DebuggerException e
        43: .line 201
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.debugeeType:I
            tableswitch { // 0 - 2
                    0: 44
                    1: 46
                    2: 48
              default: 49
          }
        44: .line 203
      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 204
            goto 49
        46: .line 207
      StackMap locals:
      StackMap stack:
            aload 2 /* err */
            ldc "Error attaching to core file: "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        47: .line 208
            goto 49
        48: .line 211
      StackMap locals:
      StackMap stack:
            aload 2 /* err */
            ldc "Error attaching to remote server: "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        49: .line 214
      StackMap locals:
      StackMap stack:
            aload 8 /* e */
            invokevirtual sun.jvm.hotspot.debugger.DebuggerException.getMessage:()Ljava/lang/String;
            ifnull 52
        50: .line 215
            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 216
            aload 8 /* e */
            invokevirtual sun.jvm.hotspot.debugger.DebuggerException.printStackTrace:()V
        52: .line 218
      StackMap locals:
      StackMap stack:
            aload 2 /* err */
            invokevirtual java.io.PrintStream.println:()V
        53: .line 219
            iconst_1
            ireturn
        end local 8 // sun.jvm.hotspot.debugger.DebuggerException e
        54: .line 222
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            ldc "Debugger attached successfully."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        55: .line 223
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.startInternal:()V
        56: .line 224
            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 230
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.Tool.jvmDebugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
            ifnonnull 2
         1: .line 231
            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 233
      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 234
            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 235
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.startInternal:()V
         5: .line 236
            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 241
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            astore 1 /* out */
        start local 1 // java.io.PrintStream out
         1: .line 242
            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 243
            aload 2 /* vm */
            invokevirtual sun.jvm.hotspot.runtime.VM.isCore:()Z
            ifeq 5
         3: .line 244
            aload 1 /* out */
            ldc "Core build detected."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 245
            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 246
            aload 1 /* out */
            ldc "Client compiler detected."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 247
            goto 12
      StackMap locals:
      StackMap stack:
         8: aload 2 /* vm */
            invokevirtual sun.jvm.hotspot.runtime.VM.isServerCompiler:()Z
            ifeq 11
         9: .line 248
            aload 1 /* out */
            ldc "Server compiler detected."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        10: .line 249
            goto 12
        11: .line 250
      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 254
      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 255
            aload 3 /* version */
            ifnull 16
        14: .line 256
            aload 1 /* out */
            ldc "JVM version is "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        15: .line 257
            aload 1 /* out */
            aload 3 /* version */
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        16: .line 260
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.jvm.hotspot.tools.Tool.run:()V
        17: .line 261
            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"