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 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 52
            aload 0 /* this */
            iload 1 /* vmid */
            putfield sun.tools.jconsole.LocalVirtualMachine.vmid:I
         2: .line 53
            aload 0 /* this */
            aload 2 /* commandLine */
            putfield sun.tools.jconsole.LocalVirtualMachine.commandLine:Ljava/lang/String;
         3: .line 54
            aload 0 /* this */
            aload 4 /* connectorAddress */
            putfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
         4: .line 55
            aload 0 /* this */
            iload 3 /* canAttach */
            putfield sun.tools.jconsole.LocalVirtualMachine.isAttachSupported:Z
         5: .line 56
            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 57
            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 61
            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 62
            aload 1 /* res */
            iconst_0
            aaload
            ldc ".jar"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 7
         2: .line 63
            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 64
            aload 2 /* jarfile */
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            astore 3 /* displayName */
        start local 3 // java.lang.String displayName
         4: .line 65
            aload 1 /* res */
            arraylength
            iconst_2
            if_icmpne 6
         5: .line 66
            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 68
      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 70
      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 74
            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 78
            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 82
            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 86
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
            ifnull 2
         1: .line 88
            return
         2: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.tools.jconsole.LocalVirtualMachine.isAttachable:()Z
            ifne 6
         3: .line 92
            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 93
            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 92
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 96
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.tools.jconsole.LocalVirtualMachine.loadManagementAgent:()V
         7: .line 98
            aload 0 /* this */
            getfield sun.tools.jconsole.LocalVirtualMachine.address:Ljava/lang/String;
            ifnonnull 9
         8: .line 100
            new java.io.IOException
            dup
            ldc "Fails to find connector address"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 102
      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 106
            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 110
            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 114
            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 121
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
         1: .line 120
            astore 0 /* map */
        start local 0 // java.util.Map map
         2: .line 122
            aload 0 /* map */
            invokestatic sun.tools.jconsole.LocalVirtualMachine.getMonitoredVMs:(Ljava/util/Map;)V
         3: .line 123
            aload 0 /* map */
            invokestatic sun.tools.jconsole.LocalVirtualMachine.getAttachableVMs:(Ljava/util/Map;)V
         4: .line 124
            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 131
            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 132
            aload 1 /* host */
            invokevirtual sun.jvmstat.monitor.MonitoredHost.activeVms:()Ljava/util/Set;
            astore 2 /* vms */
        start local 2 // java.util.Set vms
         2: .line 133
            goto 5
        end local 2 // java.util.Set vms
        end local 1 // sun.jvmstat.monitor.MonitoredHost host
      StackMap locals:
      StackMap stack: java.lang.Exception
         3: astore 3 /* x */
        start local 3 // java.lang.Exception x
         4: .line 134
            new java.lang.InternalError
            dup
            aload 3 /* x */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            aload 3 /* x */
            invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception x
        start local 1 // sun.jvmstat.monitor.MonitoredHost host
        start local 2 // java.util.Set vms
         5: .line 136
      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 22
      StackMap locals: java.util.Map sun.jvmstat.monitor.MonitoredHost java.util.Set top java.util.Iterator
      StackMap stack:
         6: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 3 /* vmid */
        start local 3 // java.lang.Object vmid
         7: .line 137
            aload 3 /* vmid */
            instanceof java.lang.Integer
            ifeq 22
         8: .line 138
            aload 3 /* vmid */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 5 /* pid */
        start local 5 // int pid
         9: .line 139
            aload 3 /* vmid */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 6 /* name */
        start local 6 // java.lang.String name
        10: .line 140
            iconst_0
            istore 7 /* attachable */
        start local 7 // boolean attachable
        11: .line 141
            aconst_null
            astore 8 /* address */
        start local 8 // java.lang.String address
        12: .line 143
            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
        13: .line 145
            aload 9 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.commandLine:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
            astore 6 /* name */
        14: .line 146
            aload 9 /* mvm */
            invokestatic sun.jvmstat.monitor.MonitoredVmUtil.isAttachable:(Lsun/jvmstat/monitor/MonitoredVm;)Z
            istore 7 /* attachable */
        15: .line 147
            iload 5 /* pid */
            invokestatic jdk.internal.agent.ConnectorAddressLink.importFrom:(I)Ljava/lang/String;
            astore 8 /* address */
        16: .line 148
            aload 9 /* mvm */
            invokeinterface sun.jvmstat.monitor.MonitoredVm.detach:()V
        end local 9 // sun.jvmstat.monitor.MonitoredVm mvm
        17: .line 149
            goto 19
      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
        18: pop
        19: .line 152
      StackMap locals:
      StackMap stack:
            aload 0 /* map */
            aload 3 /* vmid */
            checkcast java.lang.Integer
        20: .line 153
            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
        21: .line 152
            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
        22: .line 136
      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 6
        23: .line 156
            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   24     0         map  Ljava/util/Map<Ljava/lang/Integer;Lsun/tools/jconsole/LocalVirtualMachine;>;
            1    3     1        host  Lsun/jvmstat/monitor/MonitoredHost;
            5   24     1        host  Lsun/jvmstat/monitor/MonitoredHost;
            2    3     2         vms  Ljava/util/Set<Ljava/lang/Integer;>;
            5   24     2         vms  Ljava/util/Set<Ljava/lang/Integer;>;
            4    5     3           x  Ljava/lang/Exception;
            7   22     3        vmid  Ljava/lang/Object;
            9   22     5         pid  I
           10   22     6        name  Ljava/lang/String;
           11   22     7  attachable  Z
           12   22     8     address  Ljava/lang/String;
           13   17     9         mvm  Lsun/jvmstat/monitor/MonitoredVm;
      Exception table:
        from    to  target  type
           0     2       3  Class java.net.URISyntaxException
           0     2       3  Class sun.jvmstat.monitor.MonitorException
          12    17      18  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 162
            invokestatic com.sun.tools.attach.VirtualMachine.list:()Ljava/util/List;
            astore 1 /* vms */
        start local 1 // java.util.List vms
         1: .line 163
            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 165
            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 166
            aload 0 /* map */
            aload 4 /* vmid */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifne 22
         5: .line 167
            iconst_0
            istore 5 /* attachable */
        start local 5 // boolean attachable
         6: .line 168
            aconst_null
            astore 6 /* address */
        start local 6 // java.lang.String address
         7: .line 170
            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 171
            iconst_1
            istore 5 /* attachable */
         9: .line 172
            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 173
            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 174
            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 175
            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 177
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        15: .line 180
      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 181
            aload 2 /* vmd */
            invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.displayName:()Ljava/lang/String;
        17: .line 182
            iload 5 /* attachable */
        18: .line 183
            aload 6 /* address */
            invokespecial sun.tools.jconsole.LocalVirtualMachine.<init>:(ILjava/lang/String;ZLjava/lang/String;)V
        19: .line 180
            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 185
            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 163
      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 189
            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 192
            invokestatic sun.tools.jconsole.LocalVirtualMachine.getAllVirtualMachines:()Ljava/util/Map;
            astore 1 /* map */
        start local 1 // java.util.Map map
         1: .line 193
            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 194
            aload 2 /* lvm */
            ifnonnull 20
         3: .line 200
            iconst_0
            istore 3 /* attachable */
        start local 3 // boolean attachable
         4: .line 201
            aconst_null
            astore 4 /* address */
        start local 4 // java.lang.String address
         5: .line 202
            iload 0 /* vmid */
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            astore 5 /* name */
        start local 5 // java.lang.String name
         6: .line 204
            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 205
            iconst_1
            istore 3 /* attachable */
         8: .line 206
            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 207
            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 208
            aload 6 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
        11: .line 209
            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 210
            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 212
            invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
            ifeq 20
        15: .line 213
            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 215
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 6 /* x */
        start local 6 // java.io.IOException x
        18: .line 217
            invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
            ifeq 20
        19: .line 218
            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 222
      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=5, args_size=1
        start local 0 // sun.tools.jconsole.LocalVirtualMachine this
         0: .line 227
            aconst_null
            astore 1 /* vm */
        start local 1 // com.sun.tools.attach.VirtualMachine vm
         1: .line 228
            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 230
            aload 2 /* name */
            invokestatic com.sun.tools.attach.VirtualMachine.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
            astore 1 /* vm */
         3: .line 231
            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 232
            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 233
            aload 4 /* ioe */
            aload 3 /* x */
            invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
         7: .line 234
            aload 4 /* ioe */
            athrow
        end local 4 // java.io.IOException ioe
        end local 3 // com.sun.tools.attach.AttachNotSupportedException x
         8: .line 237
      StackMap locals:
      StackMap stack:
            aload 1 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.startLocalManagementAgent:()Ljava/lang/String;
            pop
         9: .line 240
            aload 1 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.getAgentProperties:()Ljava/util/Properties;
            astore 3 /* agentProps */
        start local 3 // java.util.Properties agentProps
        10: .line 241
            aload 0 /* this */
            aload 3 /* 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;
        11: .line 243
            aload 1 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
        12: .line 244
            return
        end local 3 // java.util.Properties agentProps
        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   13     0        this  Lsun/tools/jconsole/LocalVirtualMachine;
            1   13     1          vm  Lcom/sun/tools/attach/VirtualMachine;
            2   13     2        name  Ljava/lang/String;
            5    8     3           x  Lcom/sun/tools/attach/AttachNotSupportedException;
            6    8     4         ioe  Ljava/io/IOException;
           10   13     3  agentProps  Ljava/util/Properties;
      Exception table:
        from    to  target  type
           2     3       4  Class com.sun.tools.attach.AttachNotSupportedException
    Exceptions:
      throws java.io.IOException
}
SourceFile: "LocalVirtualMachine.java"