public abstract class sun.tools.attach.HotSpotAttachProvider extends com.sun.tools.attach.spi.AttachProvider
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: sun.tools.attach.HotSpotAttachProvider
  super_class: com.sun.tools.attach.spi.AttachProvider
{
  private static final java.lang.String JVM_VERSION;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "java.property.java.vm.version"

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.attach.HotSpotAttachProvider this
         0: .line 56
            aload 0 /* this */
            invokespecial com.sun.tools.attach.spi.AttachProvider.<init>:()V
         1: .line 57
            return
        end local 0 // sun.tools.attach.HotSpotAttachProvider this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/tools/attach/HotSpotAttachProvider;

  public void checkAttachPermission();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // sun.tools.attach.HotSpotAttachProvider this
         0: .line 60
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* sm */
        start local 1 // java.lang.SecurityManager sm
         1: .line 61
            aload 1 /* sm */
            ifnull 5
         2: .line 62
            aload 1 /* sm */
         3: .line 63
            new com.sun.tools.attach.AttachPermission
            dup
            ldc "attachVirtualMachine"
            invokespecial com.sun.tools.attach.AttachPermission.<init>:(Ljava/lang/String;)V
         4: .line 62
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         5: .line 66
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            return
        end local 1 // java.lang.SecurityManager sm
        end local 0 // sun.tools.attach.HotSpotAttachProvider this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/tools/attach/HotSpotAttachProvider;
            1    6     1    sm  Ljava/lang/SecurityManager;

  public java.util.List<com.sun.tools.attach.VirtualMachineDescriptor> listVirtualMachines();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=12, args_size=1
        start local 0 // sun.tools.attach.HotSpotAttachProvider this
         0: .line 75
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
         1: .line 74
            astore 1 /* result */
        start local 1 // java.util.ArrayList result
         2: .line 80
            new sun.jvmstat.monitor.HostIdentifier
            dup
            aconst_null
            invokespecial sun.jvmstat.monitor.HostIdentifier.<init>:(Ljava/lang/String;)V
            invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
            astore 2 /* host */
        start local 2 // sun.jvmstat.monitor.MonitoredHost host
         3: .line 81
            aload 2 /* host */
            invokevirtual sun.jvmstat.monitor.MonitoredHost.activeVms:()Ljava/util/Set;
            astore 3 /* vms */
        start local 3 // java.util.Set vms
         4: .line 82
            goto 13
        end local 3 // java.util.Set vms
        end local 2 // sun.jvmstat.monitor.MonitoredHost host
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList
      StackMap stack: java.lang.Throwable
         5: astore 4 /* t */
        start local 4 // java.lang.Throwable t
         6: .line 83
            aload 4 /* t */
            instanceof java.lang.ExceptionInInitializerError
            ifeq 8
         7: .line 84
            aload 4 /* t */
            invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
            astore 4 /* t */
         8: .line 86
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList top top java.lang.Throwable
      StackMap stack:
            aload 4 /* t */
            instanceof java.lang.ThreadDeath
            ifeq 10
         9: .line 87
            aload 4 /* t */
            checkcast java.lang.ThreadDeath
            athrow
        10: .line 89
      StackMap locals:
      StackMap stack:
            aload 4 /* t */
            instanceof java.lang.SecurityException
            ifeq 12
        11: .line 90
            aload 1 /* result */
            areturn
        12: .line 92
      StackMap locals:
      StackMap stack:
            new java.lang.InternalError
            dup
            invokespecial java.lang.InternalError.<init>:()V
            athrow
        end local 4 // java.lang.Throwable t
        start local 2 // sun.jvmstat.monitor.MonitoredHost host
        start local 3 // java.util.Set vms
        13: .line 95
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList sun.jvmstat.monitor.MonitoredHost java.util.Set
      StackMap stack:
            aload 3 /* vms */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5
            goto 39
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList sun.jvmstat.monitor.MonitoredHost java.util.Set top java.util.Iterator
      StackMap stack:
        14: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 4 /* vmid */
        start local 4 // java.lang.Object vmid
        15: .line 96
            aload 4 /* vmid */
            instanceof java.lang.Integer
            ifeq 39
        16: .line 97
            aload 4 /* vmid */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 6 /* pid */
        start local 6 // java.lang.String pid
        17: .line 98
            aload 6 /* pid */
            astore 7 /* name */
        start local 7 // java.lang.String name
        18: .line 99
            iconst_0
            istore 8 /* isAttachable */
        start local 8 // boolean isAttachable
        19: .line 100
            aconst_null
            astore 9 /* mvm */
        start local 9 // sun.jvmstat.monitor.MonitoredVm mvm
        20: .line 102
            aload 2 /* host */
            new sun.jvmstat.monitor.VmIdentifier
            dup
            aload 6 /* pid */
            invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
            invokevirtual sun.jvmstat.monitor.MonitoredHost.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredVm;
            astore 9 /* mvm */
        21: .line 104
            aload 9 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.isAttachable:(Lsun/jvmstat/monitor/MonitoredVm;)Z
            istore 8 /* isAttachable */
        22: .line 106
            aload 9 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.commandLine:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
            astore 7 /* name */
        23: .line 107
            goto 25
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Object java.util.Iterator java.lang.String java.lang.String int sun.jvmstat.monitor.MonitoredVm
      StackMap stack: java.lang.Exception
        24: pop
        25: .line 109
      StackMap locals:
      StackMap stack:
            iload 8 /* isAttachable */
            ifeq 37
        26: .line 110
            aload 1 /* result */
            new sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor
            dup
            aload 0 /* this */
            aload 6 /* pid */
            aload 7 /* name */
            invokespecial sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor.<init>:(Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;Ljava/lang/String;)V
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        27: .line 112
            goto 37
      StackMap locals:
      StackMap stack: java.lang.Throwable
        28: astore 10 /* t */
        start local 10 // java.lang.Throwable t
        29: .line 113
            aload 10 /* t */
            instanceof java.lang.ThreadDeath
            ifeq 31
        30: .line 114
            aload 10 /* t */
            checkcast java.lang.ThreadDeath
            athrow
        end local 10 // java.lang.Throwable t
        31: .line 117
      StackMap locals:
      StackMap stack:
            aload 9 /* mvm */
            ifnull 39
        32: .line 118
            aload 9 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
            goto 39
        33: .line 116
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 11
        34: .line 117
            aload 9 /* mvm */
            ifnull 36
        35: .line 118
            aload 9 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
        36: .line 120
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Object java.util.Iterator java.lang.String java.lang.String int sun.jvmstat.monitor.MonitoredVm top java.lang.Throwable
      StackMap stack:
            aload 11
            athrow
        37: .line 117
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Object java.util.Iterator java.lang.String java.lang.String int sun.jvmstat.monitor.MonitoredVm
      StackMap stack:
            aload 9 /* mvm */
            ifnull 39
        38: .line 118
            aload 9 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
        end local 9 // sun.jvmstat.monitor.MonitoredVm mvm
        end local 8 // boolean isAttachable
        end local 7 // java.lang.String name
        end local 6 // java.lang.String pid
        end local 4 // java.lang.Object vmid
        39: .line 95
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.util.ArrayList sun.jvmstat.monitor.MonitoredHost java.util.Set top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 14
        40: .line 123
            aload 1 /* result */
            areturn
        end local 3 // java.util.Set vms
        end local 2 // sun.jvmstat.monitor.MonitoredHost host
        end local 1 // java.util.ArrayList result
        end local 0 // sun.tools.attach.HotSpotAttachProvider this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   41     0          this  Lsun/tools/attach/HotSpotAttachProvider;
            2   41     1        result  Ljava/util/ArrayList<Lcom/sun/tools/attach/VirtualMachineDescriptor;>;
            3    5     2          host  Lsun/jvmstat/monitor/MonitoredHost;
           13   41     2          host  Lsun/jvmstat/monitor/MonitoredHost;
            4    5     3           vms  Ljava/util/Set;
           13   41     3           vms  Ljava/util/Set;
            6   13     4             t  Ljava/lang/Throwable;
           15   39     4          vmid  Ljava/lang/Object;
           17   39     6           pid  Ljava/lang/String;
           18   39     7          name  Ljava/lang/String;
           19   39     8  isAttachable  Z
           20   39     9           mvm  Lsun/jvmstat/monitor/MonitoredVm;
           29   31    10             t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2     4       5  Class java.lang.Throwable
          21    23      24  Class java.lang.Exception
          20    27      28  Class java.lang.Throwable
          20    31      33  any
    Signature: ()Ljava/util/List<Lcom/sun/tools/attach/VirtualMachineDescriptor;>;

  void testAttachable(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // sun.tools.attach.HotSpotAttachProvider this
        start local 1 // java.lang.String id
         0: .line 140
            aconst_null
            astore 2 /* mvm */
        start local 2 // sun.jvmstat.monitor.MonitoredVm mvm
         1: .line 141
            iconst_0
            istore 3 /* isKernelVM */
        start local 3 // boolean isKernelVM
         2: .line 143
            new sun.jvmstat.monitor.VmIdentifier
            dup
            aload 1 /* id */
            invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
            astore 4 /* vmid */
        start local 4 // sun.jvmstat.monitor.VmIdentifier vmid
         3: .line 144
            aload 4 /* vmid */
            invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
            astore 5 /* host */
        start local 5 // sun.jvmstat.monitor.MonitoredHost host
         4: .line 145
            aload 5 /* host */
            aload 4 /* vmid */
            invokevirtual sun.jvmstat.monitor.MonitoredHost.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredVm;
            astore 2 /* mvm */
         5: .line 147
            aload 2 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.isAttachable:(Lsun/jvmstat/monitor/MonitoredVm;)Z
            ifeq 9
         6: .line 160
            aload 2 /* mvm */
            ifnull 8
         7: .line 161
            aload 2 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
         8: .line 149
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.lang.String sun.jvmstat.monitor.MonitoredVm int sun.jvmstat.monitor.VmIdentifier sun.jvmstat.monitor.MonitoredHost
      StackMap stack:
            return
         9: .line 151
      StackMap locals:
      StackMap stack:
            aload 2 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.isKernelVM:(Lsun/jvmstat/monitor/MonitoredVm;)Z
            istore 3 /* isKernelVM */
        end local 5 // sun.jvmstat.monitor.MonitoredHost host
        end local 4 // sun.jvmstat.monitor.VmIdentifier vmid
        10: .line 152
            goto 22
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.lang.String sun.jvmstat.monitor.MonitoredVm int
      StackMap stack: java.lang.Throwable
        11: astore 4 /* t */
        start local 4 // java.lang.Throwable t
        12: .line 153
            aload 4 /* t */
            instanceof java.lang.ThreadDeath
            ifeq 15
        13: .line 154
            aload 4 /* t */
            checkcast java.lang.ThreadDeath
            astore 5 /* td */
        start local 5 // java.lang.ThreadDeath td
        14: .line 155
            aload 5 /* td */
            athrow
        end local 5 // java.lang.ThreadDeath td
        15: .line 160
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 2 /* mvm */
            ifnull 17
        16: .line 161
            aload 2 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
        17: .line 158
      StackMap locals:
      StackMap stack:
            return
        end local 4 // java.lang.Throwable t
        18: .line 159
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.lang.String sun.jvmstat.monitor.MonitoredVm int
      StackMap stack: java.lang.Throwable
            astore 6
        19: .line 160
            aload 2 /* mvm */
            ifnull 21
        20: .line 161
            aload 2 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
        21: .line 163
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.lang.String sun.jvmstat.monitor.MonitoredVm int top top java.lang.Throwable
      StackMap stack:
            aload 6
            athrow
        22: .line 160
      StackMap locals: sun.tools.attach.HotSpotAttachProvider java.lang.String sun.jvmstat.monitor.MonitoredVm int
      StackMap stack:
            aload 2 /* mvm */
            ifnull 24
        23: .line 161
            aload 2 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
        24: .line 166
      StackMap locals:
      StackMap stack:
            iload 3 /* isKernelVM */
            ifeq 26
        25: .line 167
            new com.sun.tools.attach.AttachNotSupportedException
            dup
            ldc "Kernel VM does not support the attach mechanism"
            invokespecial com.sun.tools.attach.AttachNotSupportedException.<init>:(Ljava/lang/String;)V
            athrow
        26: .line 169
      StackMap locals:
      StackMap stack:
            new com.sun.tools.attach.AttachNotSupportedException
            dup
            ldc "The VM does not support the attach mechanism"
            invokespecial com.sun.tools.attach.AttachNotSupportedException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // boolean isKernelVM
        end local 2 // sun.jvmstat.monitor.MonitoredVm mvm
        end local 1 // java.lang.String id
        end local 0 // sun.tools.attach.HotSpotAttachProvider this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   27     0        this  Lsun/tools/attach/HotSpotAttachProvider;
            0   27     1          id  Ljava/lang/String;
            1   27     2         mvm  Lsun/jvmstat/monitor/MonitoredVm;
            2   27     3  isKernelVM  Z
            3   10     4        vmid  Lsun/jvmstat/monitor/VmIdentifier;
            4   10     5        host  Lsun/jvmstat/monitor/MonitoredHost;
           12   18     4           t  Ljava/lang/Throwable;
           14   15     5          td  Ljava/lang/ThreadDeath;
      Exception table:
        from    to  target  type
           2     6      11  Class java.lang.Throwable
           9    10      11  Class java.lang.Throwable
           2     6      18  any
           9    15      18  any
    Exceptions:
      throws com.sun.tools.attach.AttachNotSupportedException
    MethodParameters:
      Name  Flags
      id    
}
SourceFile: "HotSpotAttachProvider.java"
NestMembers:
  sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor
InnerClasses:
  HotSpotVirtualMachineDescriptor = sun.tools.attach.HotSpotAttachProvider$HotSpotVirtualMachineDescriptor of sun.tools.attach.HotSpotAttachProvider