public class sun.tools.jconsole.LocalVirtualMachine
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.tools.jconsole.LocalVirtualMachine
  super_class: java.lang.Object
{
  private java.lang.String address;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String commandLine;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String displayName;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

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

  private boolean isAttachSupported;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private static final java.lang.String LOCAL_CONNECTOR_ADDRESS_PROP;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "com.sun.management.jmxremote.localConnectorAddress"

  public void <init>(int, java.lang.String, boolean, java.lang.String);
    descriptor: (ILjava/lang/String;ZLjava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=5
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
        start local 1 // int vmid
        start local 2 // java.lang.String commandLine
        start local 3 // boolean canAttach
        start local 4 // java.lang.String connectorAddress
         0: .line 55
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 56
            aload 0 /* this */
            iload 1 /* vmid */
            putfield sun.tools.jconsole.LocalVirtualMachine.vmid:I
         2: .line 57
            aload 0 /* this */
            aload 2 /* commandLine */
            putfield sun.tools.jconsole.LocalVirtualMachine.commandLine:Ljava/lang/String;
         3: .line 58
            aload 0 /* this */
            aload 4 /* connectorAddress */
            putfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
         4: .line 59
            aload 0 /* this */
            iload 3 /* canAttach */
            putfield sun.tools.jconsole.LocalVirtualMachine.isAttachSupported:Z
         5: .line 60
            aload 0 /* this */
            aload 2 /* commandLine */
            invokestatic sun.tools.jconsole.LocalVirtualMachine.getDisplayName:(Ljava/lang/String;)Ljava/lang/String;
            putfield sun.tools.jconsole.LocalVirtualMachine.displayName:Ljava/lang/String;
         6: .line 61
            return
        end local 4 // java.lang.String connectorAddress
        end local 3 // boolean canAttach
        end local 2 // java.lang.String commandLine
        end local 1 // int vmid
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    7     0              this  Lsun/tools/jconsole/LocalVirtualMachine;
            0    7     1              vmid  I
            0    7     2       commandLine  Ljava/lang/String;
            0    7     3         canAttach  Z
            0    7     4  connectorAddress  Ljava/lang/String;
    MethodParameters:
                  Name  Flags
      vmid              
      commandLine       
      canAttach         
      connectorAddress  

  private static java.lang.String getDisplayName(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // java.lang.String commandLine
         0: .line 65
            aload 0 /* commandLine */
            ldc " "
            iconst_2
            invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
            astore 1 /* res */
        start local 1 // java.lang.String[] res
         1: .line 66
            aload 1 /* res */
            iconst_0
            aaload
            ldc ".jar"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 7
         2: .line 67
            new java.io.File
            dup
            aload 1 /* res */
            iconst_0
            aaload
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 2 /* jarfile */
        start local 2 // java.io.File jarfile
         3: .line 68
            aload 2 /* jarfile */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            astore 3 /* displayName */
        start local 3 // java.lang.String displayName
         4: .line 69
            aload 1 /* res */
            arraylength
            iconst_2
            if_icmpne 6
         5: .line 70
            new java.lang.StringBuilder
            dup
            aload 3 /* displayName */
            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 1 /* res */
            iconst_1
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* displayName */
         6: .line 72
      StackMap locals: java.lang.String[] java.io.File java.lang.String
      StackMap stack:
            aload 3 /* displayName */
            areturn
        end local 3 // java.lang.String displayName
        end local 2 // java.io.File jarfile
         7: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* commandLine */
            areturn
        end local 1 // java.lang.String[] res
        end local 0 // java.lang.String commandLine
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    8     0  commandLine  Ljava/lang/String;
            1    8     1          res  [Ljava/lang/String;
            3    7     2      jarfile  Ljava/io/File;
            4    7     3  displayName  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      commandLine  

  public int vmid();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 78
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.vmid:I
            ireturn
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jconsole/LocalVirtualMachine;

  public boolean isManageable();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 82
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
            ifnull 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/tools/jconsole/LocalVirtualMachine;

  public boolean isAttachable();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 86
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.isAttachSupported:Z
            ireturn
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jconsole/LocalVirtualMachine;

  public void startManagementAgent();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 90
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
            ifnull 2
         1: .line 92
            return
         2: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.tools.jconsole.LocalVirtualMachine.isAttachable:()Z
            ifne 6
         3: .line 96
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "This virtual machine \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.vmid:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         4: .line 97
            ldc "\" does not support dynamic attach."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         5: .line 96
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.tools.jconsole.LocalVirtualMachine.loadManagementAgent:()V
         7: .line 102
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
            ifnonnull 9
         8: .line 104
            new java.io.IOException
            dup
            ldc "Fails to find connector address"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 106
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lsun/tools/jconsole/LocalVirtualMachine;
    Exceptions:
      throws java.io.IOException

  public java.lang.String connectorAddress();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 110
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
            areturn
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jconsole/LocalVirtualMachine;

  public java.lang.String displayName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 114
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.displayName:Ljava/lang/String;
            areturn
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jconsole/LocalVirtualMachine;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 118
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.commandLine:Ljava/lang/String;
            areturn
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jconsole/LocalVirtualMachine;

  public static java.util.Map<java.lang.Integer, sun.tools.jconsole.LocalVirtualMachine> getAllVirtualMachines();
    descriptor: ()Ljava/util/Map;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 125
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
         1: .line 124
            astore 0 /* map */
        start local 0 // java.util.Map map
         2: .line 126
            aload 0 /* map */
            invokestatic sun.tools.jconsole.LocalVirtualMachine.getMonitoredVMs:(Ljava/util/Map;)V
         3: .line 127
            aload 0 /* map */
            invokestatic sun.tools.jconsole.LocalVirtualMachine.getAttachableVMs:(Ljava/util/Map;)V
         4: .line 128
            aload 0 /* map */
            areturn
        end local 0 // java.util.Map map
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            2    5     0   map  Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;
    Signature: ()Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;

  private static void getMonitoredVMs(java.util.Map<java.lang.Integer, sun.tools.jconsole.LocalVirtualMachine>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=8, locals=10, args_size=1
        start local 0 // java.util.Map map
         0: .line 135
            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 1 /* host */
        start local 1 // sun.jvmstat.monitor.MonitoredHost host
         1: .line 136
            aload 1 /* host */
            invokevirtual sun.jvmstat.monitor.MonitoredHost.activeVms:()Ljava/util/Set;
            astore 2 /* vms */
        start local 2 // java.util.Set vms
         2: .line 137
            goto 7
        end local 2 // java.util.Set vms
        end local 1 // sun.jvmstat.monitor.MonitoredHost host
      StackMap locals:
      StackMap stack: java.net.URISyntaxException
         3: astore 3 /* sx */
        start local 3 // java.net.URISyntaxException sx
         4: .line 138
            new java.lang.InternalError
            dup
            aload 3 /* sx */
            invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.net.URISyntaxException sx
         5: .line 139
      StackMap locals:
      StackMap stack: sun.jvmstat.monitor.MonitorException
            astore 3 /* mx */
        start local 3 // sun.jvmstat.monitor.MonitorException mx
         6: .line 140
            new java.lang.InternalError
            dup
            aload 3 /* mx */
            invokevirtual sun.jvmstat.monitor.MonitorException.getMessage:()Ljava/lang/String;
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // sun.jvmstat.monitor.MonitorException mx
        start local 1 // sun.jvmstat.monitor.MonitoredHost host
        start local 2 // java.util.Set vms
         7: .line 142
      StackMap locals: sun.jvmstat.monitor.MonitoredHost java.util.Set
      StackMap stack:
            aload 2 /* vms */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 24
      StackMap locals: java.util.Map sun.jvmstat.monitor.MonitoredHost java.util.Set top java.util.Iterator
      StackMap stack:
         8: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 3 /* vmid */
        start local 3 // java.lang.Object vmid
         9: .line 143
            aload 3 /* vmid */
            instanceof java.lang.Integer
            ifeq 24
        10: .line 144
            aload 3 /* vmid */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 5 /* pid */
        start local 5 // int pid
        11: .line 145
            aload 3 /* vmid */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 6 /* name */
        start local 6 // java.lang.String name
        12: .line 146
            iconst_0
            istore 7 /* attachable */
        start local 7 // boolean attachable
        13: .line 147
            aconst_null
            astore 8 /* address */
        start local 8 // java.lang.String address
        14: .line 149
            aload 1 /* host */
            new sun.jvmstat.monitor.VmIdentifier
            dup
            aload 6 /* name */
            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 */
        start local 9 // sun.jvmstat.monitor.MonitoredVm mvm
        15: .line 151
            aload 9 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.commandLine:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
            astore 6 /* name */
        16: .line 152
            aload 9 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.isAttachable:(Lsun/jvmstat/monitor/MonitoredVm;)Z
            istore 7 /* attachable */
        17: .line 153
            iload 5 /* pid */
            invokestatic sun.management.ConnectorAddressLink.importFrom:(I)Ljava/lang/String;
            astore 8 /* address */
        18: .line 154
            aload 9 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
        end local 9 // sun.jvmstat.monitor.MonitoredVm mvm
        19: .line 155
            goto 21
      StackMap locals: java.util.Map sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Object java.util.Iterator int java.lang.String int java.lang.String
      StackMap stack: java.lang.Exception
        20: pop
        21: .line 158
      StackMap locals:
      StackMap stack:
            aload 0 /* map */
            aload 3 /* vmid */
            checkcast java.lang.Integer
        22: .line 159
            new sun.tools.jconsole.LocalVirtualMachine
            dup
            iload 5 /* pid */
            aload 6 /* name */
            iload 7 /* attachable */
            aload 8 /* address */
            invokespecial sun.tools.jconsole.LocalVirtualMachine.<init>:(ILjava/lang/String;ZLjava/lang/String;)V
        23: .line 158
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 8 // java.lang.String address
        end local 7 // boolean attachable
        end local 6 // java.lang.String name
        end local 5 // int pid
        end local 3 // java.lang.Object vmid
        24: .line 142
      StackMap locals: java.util.Map sun.jvmstat.monitor.MonitoredHost java.util.Set top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        25: .line 162
            return
        end local 2 // java.util.Set vms
        end local 1 // sun.jvmstat.monitor.MonitoredHost host
        end local 0 // java.util.Map map
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   26     0         map  Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;
            1    3     1        host  Lsun/jvmstat/monitor/MonitoredHost;
            7   26     1        host  Lsun/jvmstat/monitor/MonitoredHost;
            2    3     2         vms  Ljava/util/Set<Ljava/lang/Integer;>;
            7   26     2         vms  Ljava/util/Set<Ljava/lang/Integer;>;
            4    5     3          sx  Ljava/net/URISyntaxException;
            6    7     3          mx  Lsun/jvmstat/monitor/MonitorException;
            9   24     3        vmid  Ljava/lang/Object;
           11   24     5         pid  I
           12   24     6        name  Ljava/lang/String;
           13   24     7  attachable  Z
           14   24     8     address  Ljava/lang/String;
           15   19     9         mvm  Lsun/jvmstat/monitor/MonitoredVm;
      Exception table:
        from    to  target  type
           0     2       3  Class java.net.URISyntaxException
           0     2       5  Class sun.jvmstat.monitor.MonitorException
          14    19      20  Class java.lang.Exception
    Signature: (Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;)V
    MethodParameters:
      Name  Flags
      map   

  private static void getAttachableVMs(java.util.Map<java.lang.Integer, sun.tools.jconsole.LocalVirtualMachine>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=8, locals=9, args_size=1
        start local 0 // java.util.Map map
         0: .line 168
            invokestatic com.sun.tools.attach.VirtualMachine.list:()Ljava/util/List;
            astore 1 /* vms */
        start local 1 // java.util.List vms
         1: .line 169
            aload 1 /* vms */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 22
      StackMap locals: java.util.Map java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.sun.tools.attach.VirtualMachineDescriptor
            astore 2 /* vmd */
        start local 2 // com.sun.tools.attach.VirtualMachineDescriptor vmd
         3: .line 171
            aload 2 /* vmd */
            invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
            invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
            astore 4 /* vmid */
        start local 4 // java.lang.Integer vmid
         4: .line 172
            aload 0 /* map */
            aload 4 /* vmid */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifne 22
         5: .line 173
            iconst_0
            istore 5 /* attachable */
        start local 5 // boolean attachable
         6: .line 174
            aconst_null
            astore 6 /* address */
        start local 6 // java.lang.String address
         7: .line 176
            aload 2 /* vmd */
            invokestatic com.sun.tools.attach.VirtualMachine.attach:(Lcom/sun/tools/attach/VirtualMachineDescriptor;)Lcom/sun/tools/attach/VirtualMachine;
            astore 7 /* vm */
        start local 7 // com.sun.tools.attach.VirtualMachine vm
         8: .line 177
            iconst_1
            istore 5 /* attachable */
         9: .line 178
            aload 7 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.getAgentProperties:()Ljava/util/Properties;
            astore 8 /* agentProps */
        start local 8 // java.util.Properties agentProps
        10: .line 179
            aload 8 /* agentProps */
            ldc "com.sun.management.jmxremote.localConnectorAddress"
            invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 6 /* address */
        11: .line 180
            aload 7 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
        end local 8 // java.util.Properties agentProps
        end local 7 // com.sun.tools.attach.VirtualMachine vm
        12: .line 181
            goto 15
      StackMap locals: java.util.Map java.util.List com.sun.tools.attach.VirtualMachineDescriptor java.util.Iterator java.lang.Integer int java.lang.String
      StackMap stack: com.sun.tools.attach.AttachNotSupportedException
        13: pop
            goto 15
        14: .line 183
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        15: .line 186
      StackMap locals:
      StackMap stack:
            aload 0 /* map */
            aload 4 /* vmid */
            new sun.tools.jconsole.LocalVirtualMachine
            dup
            aload 4 /* vmid */
            invokevirtual java.lang.Integer.intValue:()I
        16: .line 187
            aload 2 /* vmd */
            invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.displayName:()Ljava/lang/String;
        17: .line 188
            iload 5 /* attachable */
        18: .line 189
            aload 6 /* address */
            invokespecial sun.tools.jconsole.LocalVirtualMachine.<init>:(ILjava/lang/String;ZLjava/lang/String;)V
        19: .line 186
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 6 // java.lang.String address
        end local 5 // boolean attachable
        end local 4 // java.lang.Integer vmid
        20: .line 191
            goto 22
      StackMap locals: java.util.Map java.util.List com.sun.tools.attach.VirtualMachineDescriptor java.util.Iterator
      StackMap stack: java.lang.NumberFormatException
        21: pop
        end local 2 // com.sun.tools.attach.VirtualMachineDescriptor vmd
        22: .line 169
      StackMap locals: java.util.Map java.util.List top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        23: .line 195
            return
        end local 1 // java.util.List vms
        end local 0 // java.util.Map map
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   24     0         map  Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;
            1   24     1         vms  Ljava/util/List<Lcom/sun/tools/attach/VirtualMachineDescriptor;>;
            3   22     2         vmd  Lcom/sun/tools/attach/VirtualMachineDescriptor;
            4   20     4        vmid  Ljava/lang/Integer;
            6   20     5  attachable  Z
            7   20     6     address  Ljava/lang/String;
            8   12     7          vm  Lcom/sun/tools/attach/VirtualMachine;
           10   12     8  agentProps  Ljava/util/Properties;
      Exception table:
        from    to  target  type
           7    12      13  Class com.sun.tools.attach.AttachNotSupportedException
           7    12      14  Class java.io.IOException
           3    20      21  Class java.lang.NumberFormatException
    Signature: (Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;)V
    MethodParameters:
      Name  Flags
      map   

  public static sun.tools.jconsole.LocalVirtualMachine getLocalVirtualMachine(int);
    descriptor: (I)Lsun/tools/jconsole/LocalVirtualMachine;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=8, args_size=1
        start local 0 // int vmid
         0: .line 198
            invokestatic sun.tools.jconsole.LocalVirtualMachine.getAllVirtualMachines:()Ljava/util/Map;
            astore 1 /* map */
        start local 1 // java.util.Map map
         1: .line 199
            aload 1 /* map */
            iload 0 /* vmid */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.tools.jconsole.LocalVirtualMachine
            astore 2 /* lvm */
        start local 2 // sun.tools.jconsole.LocalVirtualMachine lvm
         2: .line 200
            aload 2 /* lvm */
            ifnonnull 20
         3: .line 206
            iconst_0
            istore 3 /* attachable */
        start local 3 // boolean attachable
         4: .line 207
            aconst_null
            astore 4 /* address */
        start local 4 // java.lang.String address
         5: .line 208
            iload 0 /* vmid */
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            astore 5 /* name */
        start local 5 // java.lang.String name
         6: .line 210
            aload 5 /* name */
            invokestatic com.sun.tools.attach.VirtualMachine.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
            astore 6 /* vm */
        start local 6 // com.sun.tools.attach.VirtualMachine vm
         7: .line 211
            iconst_1
            istore 3 /* attachable */
         8: .line 212
            aload 6 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.getAgentProperties:()Ljava/util/Properties;
            astore 7 /* agentProps */
        start local 7 // java.util.Properties agentProps
         9: .line 213
            aload 7 /* agentProps */
            ldc "com.sun.management.jmxremote.localConnectorAddress"
            invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* address */
        10: .line 214
            aload 6 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
        11: .line 215
            new sun.tools.jconsole.LocalVirtualMachine
            dup
            iload 0 /* vmid */
            aload 5 /* name */
            iload 3 /* attachable */
            aload 4 /* address */
            invokespecial sun.tools.jconsole.LocalVirtualMachine.<init>:(ILjava/lang/String;ZLjava/lang/String;)V
            astore 2 /* lvm */
        end local 7 // java.util.Properties agentProps
        end local 6 // com.sun.tools.attach.VirtualMachine vm
        12: .line 216
            goto 20
      StackMap locals: int java.util.Map sun.tools.jconsole.LocalVirtualMachine int java.lang.String java.lang.String
      StackMap stack: com.sun.tools.attach.AttachNotSupportedException
        13: astore 6 /* x */
        start local 6 // com.sun.tools.attach.AttachNotSupportedException x
        14: .line 218
            invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
            ifeq 20
        15: .line 219
            aload 6 /* x */
            invokevirtual com.sun.tools.attach.AttachNotSupportedException.printStackTrace:()V
        end local 6 // com.sun.tools.attach.AttachNotSupportedException x
        16: goto 20
        17: .line 221
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 6 /* x */
        start local 6 // java.io.IOException x
        18: .line 223
            invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
            ifeq 20
        19: .line 224
            aload 6 /* x */
            invokevirtual java.io.IOException.printStackTrace:()V
        end local 6 // java.io.IOException x
        end local 5 // java.lang.String name
        end local 4 // java.lang.String address
        end local 3 // boolean attachable
        20: .line 228
      StackMap locals:
      StackMap stack:
            aload 2 /* lvm */
            areturn
        end local 2 // sun.tools.jconsole.LocalVirtualMachine lvm
        end local 1 // java.util.Map map
        end local 0 // int vmid
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   21     0        vmid  I
            1   21     1         map  Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;
            2   21     2         lvm  Lsun/tools/jconsole/LocalVirtualMachine;
            4   20     3  attachable  Z
            5   20     4     address  Ljava/lang/String;
            6   20     5        name  Ljava/lang/String;
            7   12     6          vm  Lcom/sun/tools/attach/VirtualMachine;
            9   12     7  agentProps  Ljava/util/Properties;
           14   16     6           x  Lcom/sun/tools/attach/AttachNotSupportedException;
           18   20     6           x  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           6    12      13  Class com.sun.tools.attach.AttachNotSupportedException
           6    12      17  Class java.io.IOException
    MethodParameters:
      Name  Flags
      vmid  

  private void loadManagementAgent();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=8, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 233
            aconst_null
            astore 1 /* vm */
        start local 1 // com.sun.tools.attach.VirtualMachine vm
         1: .line 234
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.vmid:I
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         2: .line 236
            aload 2 /* name */
            invokestatic com.sun.tools.attach.VirtualMachine.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
            astore 1 /* vm */
         3: .line 237
            goto 8
      StackMap locals: sun.tools.jconsole.LocalVirtualMachine com.sun.tools.attach.VirtualMachine java.lang.String
      StackMap stack: com.sun.tools.attach.AttachNotSupportedException
         4: astore 3 /* x */
        start local 3 // com.sun.tools.attach.AttachNotSupportedException x
         5: .line 238
            new java.io.IOException
            dup
            aload 3 /* x */
            invokevirtual com.sun.tools.attach.AttachNotSupportedException.getMessage:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            astore 4 /* ioe */
        start local 4 // java.io.IOException ioe
         6: .line 239
            aload 4 /* ioe */
            aload 3 /* x */
            invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
         7: .line 240
            aload 4 /* ioe */
            athrow
        end local 4 // java.io.IOException ioe
        end local 3 // com.sun.tools.attach.AttachNotSupportedException x
         8: .line 243
      StackMap locals:
      StackMap stack:
            aload 1 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.getSystemProperties:()Ljava/util/Properties;
            ldc "java.home"
            invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* home */
        start local 3 // java.lang.String home
         9: .line 248
            new java.lang.StringBuilder
            dup
            aload 3 /* home */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic java.io.File.separator:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "jre"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            getstatic java.io.File.separator:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        10: .line 249
            ldc "lib"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            getstatic java.io.File.separator:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "management-agent.jar"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        11: .line 248
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 4 /* agent */
        start local 4 // java.lang.String agent
        12: .line 250
            new java.io.File
            dup
            aload 4 /* agent */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 5 /* f */
        start local 5 // java.io.File f
        13: .line 251
            aload 5 /* f */
            invokevirtual java.io.File.exists:()Z
            ifne 20
        14: .line 252
            new java.lang.StringBuilder
            dup
            aload 3 /* home */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic java.io.File.separator:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "lib"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            getstatic java.io.File.separator:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        15: .line 253
            ldc "management-agent.jar"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        16: .line 252
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 4 /* agent */
        17: .line 254
            new java.io.File
            dup
            aload 4 /* agent */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 5 /* f */
        18: .line 255
            aload 5 /* f */
            invokevirtual java.io.File.exists:()Z
            ifne 20
        19: .line 256
            new java.io.IOException
            dup
            ldc "Management agent not found"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 260
      StackMap locals: java.lang.String java.lang.String java.io.File
      StackMap stack:
            aload 5 /* f */
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
            astore 4 /* agent */
        21: .line 262
            aload 1 /* vm */
            aload 4 /* agent */
            ldc "com.sun.management.jmxremote"
            invokevirtual com.sun.tools.attach.VirtualMachine.loadAgent:(Ljava/lang/String;Ljava/lang/String;)V
        22: .line 263
            goto 31
      StackMap locals:
      StackMap stack: com.sun.tools.attach.AgentLoadException
        23: astore 6 /* x */
        start local 6 // com.sun.tools.attach.AgentLoadException x
        24: .line 264
            new java.io.IOException
            dup
            aload 6 /* x */
            invokevirtual com.sun.tools.attach.AgentLoadException.getMessage:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            astore 7 /* ioe */
        start local 7 // java.io.IOException ioe
        25: .line 265
            aload 7 /* ioe */
            aload 6 /* x */
            invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        26: .line 266
            aload 7 /* ioe */
            athrow
        end local 7 // java.io.IOException ioe
        end local 6 // com.sun.tools.attach.AgentLoadException x
        27: .line 267
      StackMap locals:
      StackMap stack: com.sun.tools.attach.AgentInitializationException
            astore 6 /* x */
        start local 6 // com.sun.tools.attach.AgentInitializationException x
        28: .line 268
            new java.io.IOException
            dup
            aload 6 /* x */
            invokevirtual com.sun.tools.attach.AgentInitializationException.getMessage:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            astore 7 /* ioe */
        start local 7 // java.io.IOException ioe
        29: .line 269
            aload 7 /* ioe */
            aload 6 /* x */
            invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
        30: .line 270
            aload 7 /* ioe */
            athrow
        end local 7 // java.io.IOException ioe
        end local 6 // com.sun.tools.attach.AgentInitializationException x
        31: .line 274
      StackMap locals:
      StackMap stack:
            aload 1 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.getAgentProperties:()Ljava/util/Properties;
            astore 6 /* agentProps */
        start local 6 // java.util.Properties agentProps
        32: .line 275
            aload 0 /* this */
            aload 6 /* agentProps */
            ldc "com.sun.management.jmxremote.localConnectorAddress"
            invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            putfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
        33: .line 277
            aload 1 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
        34: .line 278
            return
        end local 6 // java.util.Properties agentProps
        end local 5 // java.io.File f
        end local 4 // java.lang.String agent
        end local 3 // java.lang.String home
        end local 2 // java.lang.String name
        end local 1 // com.sun.tools.attach.VirtualMachine vm
        end local 0 // sun.tools.jconsole.LocalVirtualMachine this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   35     0        this  Lsun/tools/jconsole/LocalVirtualMachine;
            1   35     1          vm  Lcom/sun/tools/attach/VirtualMachine;
            2   35     2        name  Ljava/lang/String;
            5    8     3           x  Lcom/sun/tools/attach/AttachNotSupportedException;
            6    8     4         ioe  Ljava/io/IOException;
            9   35     3        home  Ljava/lang/String;
           12   35     4       agent  Ljava/lang/String;
           13   35     5           f  Ljava/io/File;
           24   27     6           x  Lcom/sun/tools/attach/AgentLoadException;
           25   27     7         ioe  Ljava/io/IOException;
           28   31     6           x  Lcom/sun/tools/attach/AgentInitializationException;
           29   31     7         ioe  Ljava/io/IOException;
           32   35     6  agentProps  Ljava/util/Properties;
      Exception table:
        from    to  target  type
           2     3       4  Class com.sun.tools.attach.AttachNotSupportedException
          21    22      23  Class com.sun.tools.attach.AgentLoadException
          21    22      27  Class com.sun.tools.attach.AgentInitializationException
    Exceptions:
      throws java.io.IOException
}
SourceFile: "LocalVirtualMachine.java"