public class sun.tools.jmap.JMap
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.tools.jmap.JMap
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.tools.jmap.JMap this
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.tools.jmap.JMap this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jmap/JMap;

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=9, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 50
            aload 0 /* args */
            arraylength
            ifne 2
         1: .line 51
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
         2: .line 54
      StackMap locals:
      StackMap stack:
            aload 0 /* args */
            invokestatic sun.tools.jmap.JMap.checkForUnsupportedOptions:([Ljava/lang/String;)V
         3: .line 57
            aconst_null
            astore 1 /* option */
        start local 1 // java.lang.String option
         4: .line 61
            iconst_0
            istore 2 /* optionCount */
        start local 2 // int optionCount
         5: .line 62
            goto 19
         6: .line 63
      StackMap locals: java.lang.String int
      StackMap stack:
            aload 0 /* args */
            iload 2 /* optionCount */
            aaload
            astore 3 /* arg */
        start local 3 // java.lang.String arg
         7: .line 64
            aload 3 /* arg */
            ldc "-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 9
         8: .line 65
            goto 20
         9: .line 67
      StackMap locals: java.lang.String
      StackMap stack:
            aload 3 /* arg */
            ldc "-?"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
        10: .line 68
            aload 3 /* arg */
            ldc "-h"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
        11: .line 69
            aload 3 /* arg */
            ldc "--help"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
        12: .line 71
            aload 3 /* arg */
            ldc "-help"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 15
        13: .line 72
      StackMap locals:
      StackMap stack:
            iconst_0
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        14: .line 73
            goto 18
        15: .line 74
      StackMap locals:
      StackMap stack:
            aload 1 /* option */
            ifnull 17
        16: .line 75
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        17: .line 77
      StackMap locals:
      StackMap stack:
            aload 3 /* arg */
            astore 1 /* option */
        18: .line 79
      StackMap locals:
      StackMap stack:
            iinc 2 /* optionCount */ 1
        end local 3 // java.lang.String arg
        19: .line 62
      StackMap locals:
      StackMap stack:
            iload 2 /* optionCount */
            aload 0 /* args */
            arraylength
            if_icmplt 6
        20: .line 83
      StackMap locals:
      StackMap stack:
            aload 1 /* option */
            ifnonnull 22
        21: .line 84
            iconst_0
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        22: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* args */
            arraylength
            iload 2 /* optionCount */
            isub
            istore 3 /* paramCount */
        start local 3 // int paramCount
        23: .line 89
            iload 3 /* paramCount */
            iconst_1
            if_icmpeq 25
        24: .line 90
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        25: .line 93
      StackMap locals: int
      StackMap stack:
            aload 0 /* args */
            iconst_1
            aaload
            astore 4 /* pidArg */
        start local 4 // java.lang.String pidArg
        26: .line 97
            new sun.tools.common.ProcessArgumentMatcher
            dup
            aload 4 /* pidArg */
            invokespecial sun.tools.common.ProcessArgumentMatcher.<init>:(Ljava/lang/String;)V
            astore 5 /* ap */
        start local 5 // sun.tools.common.ProcessArgumentMatcher ap
        27: .line 98
            aload 5 /* ap */
            ldc Lsun/tools/jmap/JMap;
            invokevirtual sun.tools.common.ProcessArgumentMatcher.getVirtualMachinePids:(Ljava/lang/Class;)Ljava/util/Collection;
            astore 6 /* pids */
        start local 6 // java.util.Collection pids
        28: .line 100
            aload 6 /* pids */
            invokeinterface java.util.Collection.isEmpty:()Z
            ifeq 31
        29: .line 101
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Could not find any processes matching : '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* pidArg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        30: .line 102
            iconst_1
            invokestatic java.lang.System.exit:(I)V
        31: .line 105
      StackMap locals: java.lang.String sun.tools.common.ProcessArgumentMatcher java.util.Collection
      StackMap stack:
            aload 6 /* pids */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 8
            goto 51
      StackMap locals: java.lang.String[] java.lang.String int int java.lang.String sun.tools.common.ProcessArgumentMatcher java.util.Collection top java.util.Iterator
      StackMap stack:
        32: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 7 /* pid */
        start local 7 // java.lang.String pid
        33: .line 106
            aload 6 /* pids */
            invokeinterface java.util.Collection.size:()I
            iconst_1
            if_icmple 35
        34: .line 107
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Pid:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* pid */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        35: .line 109
      StackMap locals: java.lang.String[] java.lang.String int int java.lang.String sun.tools.common.ProcessArgumentMatcher java.util.Collection java.lang.String java.util.Iterator
      StackMap stack:
            aload 1 /* option */
            ldc "-histo"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 38
        36: .line 110
            aload 7 /* pid */
            ldc ""
            invokestatic sun.tools.jmap.JMap.histo:(Ljava/lang/String;Ljava/lang/String;)V
        37: .line 111
            goto 51
      StackMap locals:
      StackMap stack:
        38: aload 1 /* option */
            ldc "-histo:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 41
        39: .line 112
            aload 7 /* pid */
            aload 1 /* option */
            ldc "-histo:"
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic sun.tools.jmap.JMap.histo:(Ljava/lang/String;Ljava/lang/String;)V
        40: .line 113
            goto 51
      StackMap locals:
      StackMap stack:
        41: aload 1 /* option */
            ldc "-dump:"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 44
        42: .line 114
            aload 7 /* pid */
            aload 1 /* option */
            ldc "-dump:"
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic sun.tools.jmap.JMap.dump:(Ljava/lang/String;Ljava/lang/String;)V
        43: .line 115
            goto 51
      StackMap locals:
      StackMap stack:
        44: aload 1 /* option */
            ldc "-finalizerinfo"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 47
        45: .line 116
            aload 7 /* pid */
            ldc "jcmd"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "GC.finalizer_info"
            aastore
            invokestatic sun.tools.jmap.JMap.executeCommandForPid:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
        46: .line 117
            goto 51
      StackMap locals:
      StackMap stack:
        47: aload 1 /* option */
            ldc "-clstats"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 50
        48: .line 118
            aload 7 /* pid */
            ldc "jcmd"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "VM.classloader_stats"
            aastore
            invokestatic sun.tools.jmap.JMap.executeCommandForPid:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
        49: .line 119
            goto 51
        50: .line 120
      StackMap locals:
      StackMap stack:
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        end local 7 // java.lang.String pid
        51: .line 105
      StackMap locals: java.lang.String[] java.lang.String int int java.lang.String sun.tools.common.ProcessArgumentMatcher java.util.Collection top java.util.Iterator
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 32
        52: .line 123
            return
        end local 6 // java.util.Collection pids
        end local 5 // sun.tools.common.ProcessArgumentMatcher ap
        end local 4 // java.lang.String pidArg
        end local 3 // int paramCount
        end local 2 // int optionCount
        end local 1 // java.lang.String option
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   53     0         args  [Ljava/lang/String;
            4   53     1       option  Ljava/lang/String;
            5   53     2  optionCount  I
            7   19     3          arg  Ljava/lang/String;
           23   53     3   paramCount  I
           26   53     4       pidArg  Ljava/lang/String;
           27   53     5           ap  Lsun/tools/common/ProcessArgumentMatcher;
           28   53     6         pids  Ljava/util/Collection<Ljava/lang/String;>;
           33   51     7          pid  Ljava/lang/String;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      args  

  private static void executeCommandForPid(java.lang.String, java.lang.String, java.lang.Object[]);
    descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=6, locals=11, args_size=3
        start local 0 // java.lang.String pid
        start local 1 // java.lang.String command
        start local 2 // java.lang.Object[] args
         0: .line 128
            aload 0 /* pid */
            invokestatic com.sun.tools.attach.VirtualMachine.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
            astore 3 /* vm */
        start local 3 // com.sun.tools.attach.VirtualMachine vm
         1: .line 132
            aload 3 /* vm */
            checkcast sun.tools.attach.HotSpotVirtualMachine
            astore 4 /* hvm */
        start local 4 // sun.tools.attach.HotSpotVirtualMachine hvm
         2: .line 133
            aconst_null
            astore 5
            aconst_null
            astore 6
         3: aload 4 /* hvm */
            aload 1 /* command */
            aload 2 /* args */
            invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
            astore 7 /* in */
        start local 7 // java.io.InputStream in
         4: .line 135
            sipush 256
            newarray 8
            astore 8 /* b */
        start local 8 // byte[] b
         5: .line 138
      StackMap locals: java.lang.String java.lang.String java.lang.Object[] com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.Throwable java.lang.Throwable java.io.InputStream byte[]
      StackMap stack:
            aload 7 /* in */
            aload 8 /* b */
            invokevirtual java.io.InputStream.read:([B)I
            istore 9 /* n */
        start local 9 // int n
         6: .line 139
            iload 9 /* n */
            ifle 9
         7: .line 140
            new java.lang.String
            dup
            aload 8 /* b */
            iconst_0
            iload 9 /* n */
            ldc "UTF-8"
            invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
            astore 10 /* s */
        start local 10 // java.lang.String s
         8: .line 141
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            aload 10 /* s */
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        end local 10 // java.lang.String s
         9: .line 143
      StackMap locals: int
      StackMap stack:
            iload 9 /* n */
        10: .line 137
            ifgt 5
        end local 9 // int n
        end local 8 // byte[] b
        11: .line 144
            aload 7 /* in */
            ifnull 17
            aload 7 /* in */
            invokevirtual java.io.InputStream.close:()V
            goto 17
      StackMap locals: java.lang.String java.lang.String java.lang.Object[] com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        12: astore 5
            aload 7 /* in */
            ifnull 13
            aload 7 /* in */
            invokevirtual java.io.InputStream.close:()V
        end local 7 // java.io.InputStream in
      StackMap locals:
      StackMap stack:
        13: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        14: astore 6
            aload 5
            ifnonnull 15
            aload 6
            astore 5
            goto 16
      StackMap locals:
      StackMap stack:
        15: aload 5
            aload 6
            if_acmpeq 16
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        16: aload 5
            athrow
        17: .line 145
      StackMap locals:
      StackMap stack:
            aload 3 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
        18: .line 146
            return
        end local 4 // sun.tools.attach.HotSpotVirtualMachine hvm
        end local 3 // com.sun.tools.attach.VirtualMachine vm
        end local 2 // java.lang.Object[] args
        end local 1 // java.lang.String command
        end local 0 // java.lang.String pid
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   19     0      pid  Ljava/lang/String;
            0   19     1  command  Ljava/lang/String;
            0   19     2     args  [Ljava/lang/Object;
            1   19     3       vm  Lcom/sun/tools/attach/VirtualMachine;
            2   19     4      hvm  Lsun/tools/attach/HotSpotVirtualMachine;
            4   13     7       in  Ljava/io/InputStream;
            5   11     8        b  [B
            6   11     9        n  I
            8    9    10        s  Ljava/lang/String;
      Exception table:
        from    to  target  type
           4    11      12  any
           3    14      14  any
    Exceptions:
      throws com.sun.tools.attach.AttachNotSupportedException, java.io.IOException, java.io.UnsupportedEncodingException
    MethodParameters:
         Name  Flags
      pid      
      command  
      args     

  private static java.lang.String parseFileName(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.String opt
         0: .line 150
            aload 0 /* opt */
            invokevirtual java.lang.String.length:()I
            iconst_5
            if_icmple 6
         1: .line 152
            aload 0 /* opt */
            iconst_5
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 1 /* filename */
        start local 1 // java.lang.String filename
         2: .line 158
            new java.io.File
            dup
            aload 1 /* filename */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
         3: areturn
         4: .line 159
      StackMap locals: java.lang.String java.lang.String
      StackMap stack: java.io.IOException
            pop
         5: .line 160
            aconst_null
            areturn
        end local 1 // java.lang.String filename
         6: .line 164
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // java.lang.String opt
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0       opt  Ljava/lang/String;
            2    6     1  filename  Ljava/lang/String;
      Exception table:
        from    to  target  type
           2     3       4  Class java.io.IOException
    MethodParameters:
      Name  Flags
      opt   

  private static void histo(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=8, args_size=2
        start local 0 // java.lang.String pid
        start local 1 // java.lang.String options
         0: .line 170
            ldc "-all"
            astore 2 /* liveopt */
        start local 2 // java.lang.String liveopt
         1: .line 171
            aconst_null
            astore 3 /* filename */
        start local 3 // java.lang.String filename
         2: .line 172
            aconst_null
            astore 4 /* parallel */
        start local 4 // java.lang.String parallel
         3: .line 173
            aload 1 /* options */
            ldc ","
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 5 /* subopts */
        start local 5 // java.lang.String[] subopts
         4: .line 175
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         5: goto 26
         6: .line 176
      StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[] int
      StackMap stack:
            aload 5 /* subopts */
            iload 6 /* i */
            aaload
            astore 7 /* subopt */
        start local 7 // java.lang.String subopt
         7: .line 177
            aload 7 /* subopt */
            ldc ""
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 25
            aload 7 /* subopt */
            ldc "all"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 25
         8: .line 179
            aload 7 /* subopt */
            ldc "live"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
         9: .line 180
            ldc "-live"
            astore 2 /* liveopt */
        10: .line 181
            goto 25
      StackMap locals: java.lang.String
      StackMap stack:
        11: aload 7 /* subopt */
            ldc "file="
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 17
        12: .line 182
            aload 7 /* subopt */
            invokestatic sun.tools.jmap.JMap.parseFileName:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* filename */
        13: .line 183
            aload 3 /* filename */
            ifnonnull 25
        14: .line 184
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Fail: invalid option or no file name '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* subopt */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        15: .line 185
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        16: .line 187
            goto 25
      StackMap locals:
      StackMap stack:
        17: aload 7 /* subopt */
            ldc "parallel="
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 23
        18: .line 188
            aload 7 /* subopt */
            ldc "parallel="
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 4 /* parallel */
        19: .line 189
            aload 4 /* parallel */
            ifnonnull 25
        20: .line 190
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Fail: no number provided in option: '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* subopt */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        21: .line 191
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        22: .line 193
            goto 25
        23: .line 194
      StackMap locals:
      StackMap stack:
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Fail: invalid option: '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* subopt */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        24: .line 195
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        end local 7 // java.lang.String subopt
        25: .line 175
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        26: iload 6 /* i */
            aload 5 /* subopts */
            arraylength
            if_icmplt 6
        end local 6 // int i
        27: .line 199
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            invokevirtual java.io.PrintStream.flush:()V
        28: .line 202
            aload 0 /* pid */
            ldc "inspectheap"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* liveopt */
            aastore
            dup
            iconst_1
            aload 3 /* filename */
            aastore
            dup
            iconst_2
            aload 4 /* parallel */
            aastore
            invokestatic sun.tools.jmap.JMap.executeCommandForPid:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
        29: .line 203
            return
        end local 5 // java.lang.String[] subopts
        end local 4 // java.lang.String parallel
        end local 3 // java.lang.String filename
        end local 2 // java.lang.String liveopt
        end local 1 // java.lang.String options
        end local 0 // java.lang.String pid
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   30     0       pid  Ljava/lang/String;
            0   30     1   options  Ljava/lang/String;
            1   30     2   liveopt  Ljava/lang/String;
            2   30     3  filename  Ljava/lang/String;
            3   30     4  parallel  Ljava/lang/String;
            4   30     5   subopts  [Ljava/lang/String;
            5   27     6         i  I
            7   25     7    subopt  Ljava/lang/String;
    Exceptions:
      throws com.sun.tools.attach.AttachNotSupportedException, java.io.IOException, java.io.UnsupportedEncodingException
    MethodParameters:
         Name  Flags
      pid      
      options  

  private static void dump(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=8, args_size=2
        start local 0 // java.lang.String pid
        start local 1 // java.lang.String options
         0: .line 209
            aload 1 /* options */
            ldc ","
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 2 /* subopts */
        start local 2 // java.lang.String[] subopts
         1: .line 210
            aconst_null
            astore 3 /* filename */
        start local 3 // java.lang.String filename
         2: .line 211
            ldc "-all"
            astore 4 /* liveopt */
        start local 4 // java.lang.String liveopt
         3: .line 212
            aconst_null
            astore 5 /* compress_level */
        start local 5 // java.lang.String compress_level
         4: .line 214
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         5: goto 27
         6: .line 215
      StackMap locals: java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String int
      StackMap stack:
            aload 2 /* subopts */
            iload 6 /* i */
            aaload
            astore 7 /* subopt */
        start local 7 // java.lang.String subopt
         7: .line 216
            aload 7 /* subopt */
            ldc ""
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 26
            aload 7 /* subopt */
            ldc "all"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 26
         8: .line 218
            aload 7 /* subopt */
            ldc "live"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
         9: .line 219
            ldc "-live"
            astore 4 /* liveopt */
        10: .line 220
            goto 26
      StackMap locals: java.lang.String
      StackMap stack:
        11: aload 7 /* subopt */
            ldc "file="
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 17
        12: .line 221
            aload 7 /* subopt */
            invokestatic sun.tools.jmap.JMap.parseFileName:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* filename */
        13: .line 222
            aload 3 /* filename */
            ifnonnull 26
        14: .line 223
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Fail: invalid option or no file name '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* subopt */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        15: .line 224
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        16: .line 226
            goto 26
      StackMap locals:
      StackMap stack:
        17: aload 7 /* subopt */
            ldc "format=b"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 26
        18: .line 228
            aload 7 /* subopt */
            ldc "gz="
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 24
        19: .line 229
            aload 7 /* subopt */
            ldc "gz="
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 5 /* compress_level */
        20: .line 230
            aload 5 /* compress_level */
            invokevirtual java.lang.String.length:()I
            ifne 26
        21: .line 231
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Fail: no number provided in option: '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* subopt */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        22: .line 232
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        23: .line 234
            goto 26
        24: .line 235
      StackMap locals:
      StackMap stack:
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Fail: invalid option: '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* subopt */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "'"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        25: .line 236
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        end local 7 // java.lang.String subopt
        26: .line 214
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        27: iload 6 /* i */
            aload 2 /* subopts */
            arraylength
            if_icmplt 6
        end local 6 // int i
        28: .line 240
            aload 3 /* filename */
            ifnonnull 31
        29: .line 241
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Fail: invalid option or no file name"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        30: .line 242
            iconst_1
            invokestatic sun.tools.jmap.JMap.usage:(I)V
        31: .line 245
      StackMap locals:
      StackMap stack:
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            invokevirtual java.io.PrintStream.flush:()V
        32: .line 248
            aload 0 /* pid */
            ldc "dumpheap"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* filename */
            aastore
            dup
            iconst_1
            aload 4 /* liveopt */
            aastore
            dup
            iconst_2
            aload 5 /* compress_level */
            aastore
            invokestatic sun.tools.jmap.JMap.executeCommandForPid:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
        33: .line 249
            return
        end local 5 // java.lang.String compress_level
        end local 4 // java.lang.String liveopt
        end local 3 // java.lang.String filename
        end local 2 // java.lang.String[] subopts
        end local 1 // java.lang.String options
        end local 0 // java.lang.String pid
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   34     0             pid  Ljava/lang/String;
            0   34     1         options  Ljava/lang/String;
            1   34     2         subopts  [Ljava/lang/String;
            2   34     3        filename  Ljava/lang/String;
            3   34     4         liveopt  Ljava/lang/String;
            4   34     5  compress_level  Ljava/lang/String;
            5   28     6               i  I
            7   26     7          subopt  Ljava/lang/String;
    Exceptions:
      throws com.sun.tools.attach.AttachNotSupportedException, java.io.IOException, java.io.UnsupportedEncodingException
    MethodParameters:
         Name  Flags
      pid      
      options  

  private static void checkForUnsupportedOptions(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 255
            iconst_0
            istore 1 /* paramCount */
        start local 1 // int paramCount
         1: .line 257
            aload 0 /* args */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 10
      StackMap locals: java.lang.String[] int top int int java.lang.String[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* s */
        start local 2 // java.lang.String s
         3: .line 258
            aload 2 /* s */
            ldc "-F"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 5
         4: .line 259
            ldc "-F option used"
            invokestatic sun.tools.jmap.JMap.SAOptionError:(Ljava/lang/String;)V
         5: .line 262
      StackMap locals: java.lang.String[] int java.lang.String int int java.lang.String[]
      StackMap stack:
            aload 2 /* s */
            ldc "-heap"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 7
         6: .line 263
            ldc "-heap option used"
            invokestatic sun.tools.jmap.JMap.SAOptionError:(Ljava/lang/String;)V
         7: .line 278
      StackMap locals:
      StackMap stack:
            aload 2 /* s */
            ldc "-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 9
         8: .line 279
            iinc 1 /* paramCount */ 1
        end local 2 // java.lang.String s
         9: .line 257
      StackMap locals: java.lang.String[] int top int int java.lang.String[]
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
        10: iload 3
            iload 4
            if_icmplt 2
        11: .line 283
            iload 1 /* paramCount */
            iconst_1
            if_icmple 13
        12: .line 284
            ldc "More than one non-option argument"
            invokestatic sun.tools.jmap.JMap.SAOptionError:(Ljava/lang/String;)V
        13: .line 286
      StackMap locals: java.lang.String[] int
      StackMap stack:
            return
        end local 1 // int paramCount
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   14     0        args  [Ljava/lang/String;
            1   14     1  paramCount  I
            3    9     2           s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      args  

  private static void SAOptionError(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // java.lang.String msg
         0: .line 289
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Error: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* msg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 290
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Cannot connect to core dump or remote debug server. Use jhsdb jmap instead"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         2: .line 291
            iconst_1
            invokestatic java.lang.System.exit:(I)V
         3: .line 292
            return
        end local 0 // java.lang.String msg
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0   msg  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      msg   

  private static void usage(int);
    descriptor: (I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // int exit
         0: .line 296
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Usage:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 297
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    jmap -clstats <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         2: .line 298
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "        to connect to running process and print class loader statistics"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 299
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    jmap -finalizerinfo <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 300
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "        to connect to running process and print information on objects awaiting finalization"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         5: .line 301
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    jmap -histo[:[<histo-options>]] <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 302
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "        to connect to running process and print histogram of java object heap"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 303
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    jmap -dump:<dump-options> <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 304
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "        to connect to running process and dump java heap"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         9: .line 305
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    jmap -? -h --help"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        10: .line 306
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "        to print this help message"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        11: .line 307
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        12: .line 308
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    dump-options:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        13: .line 309
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      live         dump only live objects (takes precedence if both \"live\" and \"all\" are specified)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        14: .line 310
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      all          dump all objects in the heap (default if one of \"live\" or \"all\" is not specified)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        15: .line 311
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      format=b     binary format"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        16: .line 312
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      file=<file>  dump heap to <file>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        17: .line 313
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      gz=<number>  If specified, the heap dump is written in gzipped format using the given compression level."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        18: .line 314
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "                   1 (recommended) is the fastest, 9 the strongest compression."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        19: .line 315
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        20: .line 316
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    Example: jmap -dump:live,format=b,file=heap.bin <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        21: .line 317
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        22: .line 318
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    histo-options:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        23: .line 319
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      live         count only live objects (takes precedence if both \"live\" and \"all\" are specified)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        24: .line 320
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      all          count all objects in the heap (default if one of \"live\" or \"all\" is not specified)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        25: .line 321
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      file=<file>  dump data to <file>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        26: .line 322
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "      parallel=<number>  parallel threads number for heap iteration:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        27: .line 323
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "                                  parallel=0 default behavior, use predefined number of threads"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        28: .line 324
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "                                  parallel=1 disable parallel heap iteration"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        29: .line 325
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "                                  parallel=<N> use N threads for parallel heap iteration"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        30: .line 326
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        31: .line 327
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "    Example: jmap -histo:live,file=/tmp/histo.data <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        32: .line 328
            iload 0 /* exit */
            invokestatic java.lang.System.exit:(I)V
        33: .line 329
            return
        end local 0 // int exit
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   34     0  exit  I
    MethodParameters:
      Name  Flags
      exit  
}
SourceFile: "JMap.java"