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
{
  private static java.lang.String HISTO_OPTION;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.lang.String LIVE_HISTO_OPTION;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.lang.String DUMP_OPTION_PREFIX;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.lang.String SA_TOOL_OPTIONS;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.lang.String FORCE_SA_OPTION;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static java.lang.String DEFAULT_OPTION;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static final java.lang.String LIVE_OBJECTS_OPTION;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "-live"

  private static final java.lang.String ALL_OBJECTS_OPTION;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "-all"

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 44
            ldc Lsun/tools/jmap/JMap;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.tools.jmap.JMap.$assertionsDisabled:Z
         3: .line 47
            ldc "-histo"
            putstatic sun.tools.jmap.JMap.HISTO_OPTION:Ljava/lang/String;
         4: .line 48
            ldc "-histo:live"
            putstatic sun.tools.jmap.JMap.LIVE_HISTO_OPTION:Ljava/lang/String;
         5: .line 49
            ldc "-dump:"
            putstatic sun.tools.jmap.JMap.DUMP_OPTION_PREFIX:Ljava/lang/String;
         6: .line 53
            ldc "-heap|-heap:format=b|-permstat|-finalizerinfo"
         7: .line 52
            putstatic sun.tools.jmap.JMap.SA_TOOL_OPTIONS:Ljava/lang/String;
         8: .line 56
            ldc "-F"
            putstatic sun.tools.jmap.JMap.FORCE_SA_OPTION:Ljava/lang/String;
         9: .line 59
            ldc "-pmap"
            putstatic sun.tools.jmap.JMap.DEFAULT_OPTION:Ljava/lang/String;
        10: .line 216
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  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 44
            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=4, locals=7, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 62
            aload 0 /* args */
            arraylength
            ifne 2
         1: .line 63
            invokestatic sun.tools.jmap.JMap.usage:()V
         2: .line 67
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* useSA */
        start local 1 // boolean useSA
         3: .line 70
            aconst_null
            astore 2 /* option */
        start local 2 // java.lang.String option
         4: .line 74
            iconst_0
            istore 3 /* optionCount */
        start local 3 // int optionCount
         5: .line 75
            goto 16
         6: .line 76
      StackMap locals: int java.lang.String int
      StackMap stack:
            aload 0 /* args */
            iload 3 /* optionCount */
            aaload
            astore 4 /* arg */
        start local 4 // java.lang.String arg
         7: .line 77
            aload 4 /* arg */
            ldc "-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 9
         8: .line 78
            goto 17
         9: .line 80
      StackMap locals: java.lang.String
      StackMap stack:
            aload 4 /* arg */
            getstatic sun.tools.jmap.JMap.FORCE_SA_OPTION:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 12
        10: .line 81
            iconst_1
            istore 1 /* useSA */
        11: .line 82
            goto 15
        12: .line 83
      StackMap locals:
      StackMap stack:
            aload 2 /* option */
            ifnull 14
        13: .line 84
            invokestatic sun.tools.jmap.JMap.usage:()V
        14: .line 86
      StackMap locals:
      StackMap stack:
            aload 4 /* arg */
            astore 2 /* option */
        15: .line 88
      StackMap locals:
      StackMap stack:
            iinc 3 /* optionCount */ 1
        end local 4 // java.lang.String arg
        16: .line 75
      StackMap locals:
      StackMap stack:
            iload 3 /* optionCount */
            aload 0 /* args */
            arraylength
            if_icmplt 6
        17: .line 92
      StackMap locals:
      StackMap stack:
            aload 2 /* option */
            ifnonnull 19
        18: .line 93
            getstatic sun.tools.jmap.JMap.DEFAULT_OPTION:Ljava/lang/String;
            astore 2 /* option */
        19: .line 95
      StackMap locals:
      StackMap stack:
            aload 2 /* option */
            getstatic sun.tools.jmap.JMap.SA_TOOL_OPTIONS:Ljava/lang/String;
            invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
            ifeq 21
        20: .line 96
            iconst_1
            istore 1 /* useSA */
        21: .line 102
      StackMap locals:
      StackMap stack:
            aload 0 /* args */
            arraylength
            iload 3 /* optionCount */
            isub
            istore 4 /* paramCount */
        start local 4 // int paramCount
        22: .line 103
            iload 4 /* paramCount */
            ifeq 23
            iload 4 /* paramCount */
            iconst_2
            if_icmple 24
        23: .line 104
      StackMap locals: int
      StackMap stack:
            invokestatic sun.tools.jmap.JMap.usage:()V
        24: .line 107
      StackMap locals:
      StackMap stack:
            iload 3 /* optionCount */
            ifeq 25
            iload 4 /* paramCount */
            iconst_1
            if_icmpeq 27
        25: .line 108
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 1 /* useSA */
        26: .line 109
            goto 29
        27: .line 113
      StackMap locals:
      StackMap stack:
            aload 0 /* args */
            iload 3 /* optionCount */
            aaload
            ldc "[0-9]+"
            invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
            ifne 29
        28: .line 114
            iconst_1
            istore 1 /* useSA */
        29: .line 122
      StackMap locals:
      StackMap stack:
            iload 1 /* useSA */
            ifeq 38
        30: .line 124
            iload 4 /* paramCount */
            anewarray java.lang.String
            astore 5 /* params */
        start local 5 // java.lang.String[] params
        31: .line 125
            iload 3 /* optionCount */
            istore 6 /* i */
        start local 6 // int i
        32: goto 35
        33: .line 126
      StackMap locals: java.lang.String[] int
      StackMap stack:
            aload 5 /* params */
            iload 6 /* i */
            iload 3 /* optionCount */
            isub
            aload 0 /* args */
            iload 6 /* i */
            aaload
            aastore
        34: .line 125
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        35: iload 6 /* i */
            aload 0 /* args */
            arraylength
            if_icmplt 33
        end local 6 // int i
        36: .line 128
            aload 2 /* option */
            aload 5 /* params */
            invokestatic sun.tools.jmap.JMap.runTool:(Ljava/lang/String;[Ljava/lang/String;)V
        end local 5 // java.lang.String[] params
        37: .line 130
            goto 49
        38: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* args */
            iconst_1
            aaload
            astore 5 /* pid */
        start local 5 // java.lang.String pid
        39: .line 135
            aload 2 /* option */
            getstatic sun.tools.jmap.JMap.HISTO_OPTION:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 42
        40: .line 136
            aload 5 /* pid */
            iconst_0
            invokestatic sun.tools.jmap.JMap.histo:(Ljava/lang/String;Z)V
        41: .line 137
            goto 49
      StackMap locals: java.lang.String
      StackMap stack:
        42: aload 2 /* option */
            getstatic sun.tools.jmap.JMap.LIVE_HISTO_OPTION:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 45
        43: .line 138
            aload 5 /* pid */
            iconst_1
            invokestatic sun.tools.jmap.JMap.histo:(Ljava/lang/String;Z)V
        44: .line 139
            goto 49
      StackMap locals:
      StackMap stack:
        45: aload 2 /* option */
            getstatic sun.tools.jmap.JMap.DUMP_OPTION_PREFIX:Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 48
        46: .line 140
            aload 5 /* pid */
            aload 2 /* option */
            invokestatic sun.tools.jmap.JMap.dump:(Ljava/lang/String;Ljava/lang/String;)V
        47: .line 141
            goto 49
        48: .line 142
      StackMap locals:
      StackMap stack:
            invokestatic sun.tools.jmap.JMap.usage:()V
        end local 5 // java.lang.String pid
        49: .line 145
      StackMap locals:
      StackMap stack:
            return
        end local 4 // int paramCount
        end local 3 // int optionCount
        end local 2 // java.lang.String option
        end local 1 // boolean useSA
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   50     0         args  [Ljava/lang/String;
            3   50     1        useSA  Z
            4   50     2       option  Ljava/lang/String;
            5   50     3  optionCount  I
            7   16     4          arg  Ljava/lang/String;
           22   50     4   paramCount  I
           31   37     5       params  [Ljava/lang/String;
           32   36     6            i  I
           39   49     5          pid  Ljava/lang/String;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      args  

  private static void runTool(java.lang.String, java.lang.String[]);
    descriptor: (Ljava/lang/String;[Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=8, args_size=2
        start local 0 // java.lang.String option
        start local 1 // java.lang.String[] args
         0: .line 149
            bipush 6
            anewarray java.lang.String[]
            dup
            iconst_0
         1: .line 150
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-pmap"
            aastore
            dup
            iconst_1
            ldc "sun.jvm.hotspot.tools.PMap"
            aastore
            aastore
            dup
            iconst_1
         2: .line 151
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-heap"
            aastore
            dup
            iconst_1
            ldc "sun.jvm.hotspot.tools.HeapSummary"
            aastore
            aastore
            dup
            iconst_2
         3: .line 152
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-heap:format=b"
            aastore
            dup
            iconst_1
            ldc "sun.jvm.hotspot.tools.HeapDumper"
            aastore
            aastore
            dup
            iconst_3
         4: .line 153
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-histo"
            aastore
            dup
            iconst_1
            ldc "sun.jvm.hotspot.tools.ObjectHistogram"
            aastore
            aastore
            dup
            iconst_4
         5: .line 154
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-permstat"
            aastore
            dup
            iconst_1
            ldc "sun.jvm.hotspot.tools.PermStat"
            aastore
            aastore
            dup
            iconst_5
         6: .line 155
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-finalizerinfo"
            aastore
            dup
            iconst_1
            ldc "sun.jvm.hotspot.tools.FinalizerInfo"
            aastore
            aastore
         7: .line 149
            astore 2 /* tools */
        start local 2 // java.lang.String[][] tools
         8: .line 158
            aconst_null
            astore 3 /* tool */
        start local 3 // java.lang.String tool
         9: .line 161
            aload 0 /* option */
            getstatic sun.tools.jmap.JMap.DUMP_OPTION_PREFIX:Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 16
        10: .line 163
            aload 0 /* option */
            invokestatic sun.tools.jmap.JMap.parseDumpOptions:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* fn */
        start local 4 // java.lang.String fn
        11: .line 164
            aload 4 /* fn */
            ifnonnull 12
            invokestatic sun.tools.jmap.JMap.usage:()V
        12: .line 167
      StackMap locals: java.lang.String[][] java.lang.String java.lang.String
      StackMap stack:
            ldc "sun.jvm.hotspot.tools.HeapDumper"
            astore 3 /* tool */
        13: .line 170
            aload 4 /* fn */
            aload 1 /* args */
            invokestatic sun.tools.jmap.JMap.prepend:(Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
            astore 1 /* args */
        14: .line 171
            ldc "-f"
            aload 1 /* args */
            invokestatic sun.tools.jmap.JMap.prepend:(Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
            astore 1 /* args */
        end local 4 // java.lang.String fn
        15: .line 172
            goto 23
        16: .line 173
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
        17: .line 174
            goto 22
        18: .line 175
      StackMap locals: int
      StackMap stack:
            aload 0 /* option */
            aload 2 /* tools */
            iload 4 /* i */
            aaload
            iconst_0
            aaload
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 21
        19: .line 176
            aload 2 /* tools */
            iload 4 /* i */
            aaload
            iconst_1
            aaload
            astore 3 /* tool */
        20: .line 177
            goto 23
        21: .line 179
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
        22: .line 174
      StackMap locals:
      StackMap stack:
            iload 4 /* i */
            aload 2 /* tools */
            arraylength
            if_icmplt 18
        end local 4 // int i
        23: .line 182
      StackMap locals:
      StackMap stack:
            aload 3 /* tool */
            ifnonnull 25
        24: .line 183
            invokestatic sun.tools.jmap.JMap.usage:()V
        25: .line 187
      StackMap locals:
      StackMap stack:
            aload 3 /* tool */
            invokestatic sun.tools.jmap.JMap.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
            astore 4 /* c */
        start local 4 // java.lang.Class c
        26: .line 188
            aload 4 /* c */
            ifnonnull 28
        27: .line 189
            invokestatic sun.tools.jmap.JMap.usage:()V
        28: .line 193
      StackMap locals: java.lang.Class
      StackMap stack:
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc [Ljava/lang/String;
            aastore
            astore 5 /* argTypes */
        start local 5 // java.lang.Class[] argTypes
        29: .line 194
            aload 4 /* c */
            ldc "main"
            aload 5 /* argTypes */
            invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            astore 6 /* m */
        start local 6 // java.lang.reflect.Method m
        30: .line 196
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* args */
            aastore
            astore 7 /* invokeArgs */
        start local 7 // java.lang.Object[] invokeArgs
        31: .line 197
            aload 6 /* m */
            aconst_null
            aload 7 /* invokeArgs */
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
        32: .line 198
            return
        end local 7 // java.lang.Object[] invokeArgs
        end local 6 // java.lang.reflect.Method m
        end local 5 // java.lang.Class[] argTypes
        end local 4 // java.lang.Class c
        end local 3 // java.lang.String tool
        end local 2 // java.lang.String[][] tools
        end local 1 // java.lang.String[] args
        end local 0 // java.lang.String option
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   33     0      option  Ljava/lang/String;
            0   33     1        args  [Ljava/lang/String;
            8   33     2       tools  [[Ljava/lang/String;
            9   33     3        tool  Ljava/lang/String;
           11   15     4          fn  Ljava/lang/String;
           17   23     4           i  I
           26   33     4           c  Ljava/lang/Class<*>;
           29   33     5    argTypes  [Ljava/lang/Class;
           30   33     6           m  Ljava/lang/reflect/Method;
           31   33     7  invokeArgs  [Ljava/lang/Object;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
        Name  Flags
      option  
      args    

  private static java.lang.Class<?> loadClass(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Class;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String name
         0: .line 209
            aload 0 /* name */
            iconst_1
         1: .line 210
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
         2: .line 209
            invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
         3: areturn
         4: .line 211
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         5: .line 212
            aconst_null
            areturn
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  name  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     3       4  Class java.lang.Exception
    Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
    MethodParameters:
      Name  Flags
      name  

  private static void histo(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.lang.String pid
        start local 1 // boolean live
         0: .line 218
            aload 0 /* pid */
            invokestatic sun.tools.jmap.JMap.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
            astore 2 /* vm */
        start local 2 // com.sun.tools.attach.VirtualMachine vm
         1: .line 219
            aload 2 /* vm */
            checkcast sun.tools.attach.HotSpotVirtualMachine
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         2: .line 220
            iload 1 /* live */
            ifeq 3
            ldc "-live"
            goto 4
      StackMap locals: java.lang.String int com.sun.tools.attach.VirtualMachine
      StackMap stack: sun.tools.attach.HotSpotVirtualMachine java.lang.Object[] java.lang.Object[] int
         3: ldc "-all"
      StackMap locals: java.lang.String int com.sun.tools.attach.VirtualMachine
      StackMap stack: sun.tools.attach.HotSpotVirtualMachine java.lang.Object[] java.lang.Object[] int java.lang.String
         4: aastore
            invokevirtual sun.tools.attach.HotSpotVirtualMachine.heapHisto:([Ljava/lang/Object;)Ljava/io/InputStream;
         5: .line 219
            astore 3 /* in */
        start local 3 // java.io.InputStream in
         6: .line 221
            aload 2 /* vm */
            aload 3 /* in */
            invokestatic sun.tools.jmap.JMap.drain:(Lcom/sun/tools/attach/VirtualMachine;Ljava/io/InputStream;)V
         7: .line 222
            return
        end local 3 // java.io.InputStream in
        end local 2 // com.sun.tools.attach.VirtualMachine vm
        end local 1 // boolean live
        end local 0 // java.lang.String pid
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0   pid  Ljava/lang/String;
            0    8     1  live  Z
            1    8     2    vm  Lcom/sun/tools/attach/VirtualMachine;
            6    8     3    in  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pid   
      live  

  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=5, locals=6, args_size=2
        start local 0 // java.lang.String pid
        start local 1 // java.lang.String options
         0: .line 226
            aload 1 /* options */
            invokestatic sun.tools.jmap.JMap.parseDumpOptions:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* filename */
        start local 2 // java.lang.String filename
         1: .line 227
            aload 2 /* filename */
            ifnonnull 3
         2: .line 228
            invokestatic sun.tools.jmap.JMap.usage:()V
         3: .line 235
      StackMap locals: java.lang.String
      StackMap stack:
            new java.io.File
            dup
            aload 2 /* filename */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
            astore 2 /* filename */
         4: .line 238
            aload 1 /* options */
            invokestatic sun.tools.jmap.JMap.isDumpLiveObjects:(Ljava/lang/String;)Z
            istore 3 /* live */
        start local 3 // boolean live
         5: .line 240
            aload 0 /* pid */
            invokestatic sun.tools.jmap.JMap.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
            astore 4 /* vm */
        start local 4 // com.sun.tools.attach.VirtualMachine vm
         6: .line 241
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Dumping heap to "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* filename */
            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
         7: .line 242
            aload 4 /* vm */
            checkcast sun.tools.attach.HotSpotVirtualMachine
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         8: .line 243
            aload 2 /* filename */
            aastore
            dup
            iconst_1
         9: .line 244
            iload 3 /* live */
            ifeq 10
            ldc "-live"
            goto 11
      StackMap locals: java.lang.String java.lang.String java.lang.String int com.sun.tools.attach.VirtualMachine
      StackMap stack: sun.tools.attach.HotSpotVirtualMachine java.lang.Object[] java.lang.Object[] int
        10: ldc "-all"
      StackMap locals: java.lang.String java.lang.String java.lang.String int com.sun.tools.attach.VirtualMachine
      StackMap stack: sun.tools.attach.HotSpotVirtualMachine java.lang.Object[] java.lang.Object[] int java.lang.String
        11: aastore
        12: .line 243
            invokevirtual sun.tools.attach.HotSpotVirtualMachine.dumpHeap:([Ljava/lang/Object;)Ljava/io/InputStream;
        13: .line 242
            astore 5 /* in */
        start local 5 // java.io.InputStream in
        14: .line 245
            aload 4 /* vm */
            aload 5 /* in */
            invokestatic sun.tools.jmap.JMap.drain:(Lcom/sun/tools/attach/VirtualMachine;Ljava/io/InputStream;)V
        15: .line 246
            return
        end local 5 // java.io.InputStream in
        end local 4 // com.sun.tools.attach.VirtualMachine vm
        end local 3 // boolean live
        end local 2 // java.lang.String filename
        end local 1 // java.lang.String options
        end local 0 // java.lang.String pid
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   16     0       pid  Ljava/lang/String;
            0   16     1   options  Ljava/lang/String;
            1   16     2  filename  Ljava/lang/String;
            5   16     3      live  Z
            6   16     4        vm  Lcom/sun/tools/attach/VirtualMachine;
           14   16     5        in  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      pid      
      options  

  private static java.lang.String parseDumpOptions(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // java.lang.String arg
         0: .line 252
            getstatic sun.tools.jmap.JMap.$assertionsDisabled:Z
            ifne 1
            aload 0 /* arg */
            getstatic sun.tools.jmap.JMap.DUMP_OPTION_PREFIX:Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 254
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* filename */
        start local 1 // java.lang.String filename
         2: .line 257
            aload 0 /* arg */
            getstatic sun.tools.jmap.JMap.DUMP_OPTION_PREFIX:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            ldc ","
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 2 /* options */
        start local 2 // java.lang.String[] options
         3: .line 259
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         4: goto 14
         5: .line 260
      StackMap locals: java.lang.String java.lang.String[] int
      StackMap stack:
            aload 2 /* options */
            iload 3 /* i */
            aaload
            astore 4 /* option */
        start local 4 // java.lang.String option
         6: .line 262
            aload 4 /* option */
            ldc "format=b"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
         7: .line 264
            aload 4 /* option */
            ldc "live"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
         8: .line 269
            aload 4 /* option */
            ldc "file="
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 12
         9: .line 270
            aload 4 /* option */
            iconst_5
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 1 /* filename */
        10: .line 271
            aload 1 /* filename */
            invokevirtual java.lang.String.length:()I
            ifne 13
        11: .line 272
            aconst_null
            areturn
        12: .line 275
      StackMap locals: java.lang.String
      StackMap stack:
            aconst_null
            areturn
        end local 4 // java.lang.String option
        13: .line 259
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        14: iload 3 /* i */
            aload 2 /* options */
            arraylength
            if_icmplt 5
        end local 3 // int i
        15: .line 279
            aload 1 /* filename */
            areturn
        end local 2 // java.lang.String[] options
        end local 1 // java.lang.String filename
        end local 0 // java.lang.String arg
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   16     0       arg  Ljava/lang/String;
            2   16     1  filename  Ljava/lang/String;
            3   16     2   options  [Ljava/lang/String;
            4   15     3         i  I
            6   13     4    option  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      arg   

  private static boolean isDumpLiveObjects(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.lang.String arg
         0: .line 284
            aload 0 /* arg */
            getstatic sun.tools.jmap.JMap.DUMP_OPTION_PREFIX:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            ldc ","
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 1 /* options */
        start local 1 // java.lang.String[] options
         1: .line 285
            aload 1 /* options */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 6
      StackMap locals: java.lang.String java.lang.String[] top int int java.lang.String[]
      StackMap stack:
         2: aload 5
            iload 3
            aaload
            astore 2 /* suboption */
        start local 2 // java.lang.String suboption
         3: .line 286
            aload 2 /* suboption */
            ldc "live"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 5
         4: .line 287
            iconst_1
            ireturn
        end local 2 // java.lang.String suboption
         5: .line 285
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         6: iload 3
            iload 4
            if_icmplt 2
         7: .line 290
            iconst_0
            ireturn
        end local 1 // java.lang.String[] options
        end local 0 // java.lang.String arg
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0        arg  Ljava/lang/String;
            1    8     1    options  [Ljava/lang/String;
            3    5     2  suboption  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      arg   

  private static com.sun.tools.attach.VirtualMachine attach(java.lang.String);
    descriptor: (Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // java.lang.String pid
         0: .line 296
            aload 0 /* pid */
            invokestatic com.sun.tools.attach.VirtualMachine.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
         1: areturn
         2: .line 297
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 1 /* x */
        start local 1 // java.lang.Exception x
         3: .line 298
            aload 1 /* x */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            astore 2 /* msg */
        start local 2 // java.lang.String msg
         4: .line 299
            aload 2 /* msg */
            ifnull 7
         5: .line 300
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            aload 0 /* pid */
            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 2 /* 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
         6: .line 301
            goto 8
         7: .line 302
      StackMap locals: java.lang.Exception java.lang.String
      StackMap stack:
            aload 1 /* x */
            invokevirtual java.lang.Exception.printStackTrace:()V
         8: .line 304
      StackMap locals:
      StackMap stack:
            aload 1 /* x */
            instanceof com.sun.tools.attach.AttachNotSupportedException
            ifeq 10
            invokestatic sun.tools.jmap.JMap.haveSA:()Z
            ifeq 10
         9: .line 305
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "The -F option can be used when the target process is not responding"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        10: .line 308
      StackMap locals:
      StackMap stack:
            iconst_1
            invokestatic java.lang.System.exit:(I)V
        11: .line 309
            aconst_null
            areturn
        end local 2 // java.lang.String msg
        end local 1 // java.lang.Exception x
        end local 0 // java.lang.String pid
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0   pid  Ljava/lang/String;
            3   12     1     x  Ljava/lang/Exception;
            4   12     2   msg  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.Exception
    MethodParameters:
      Name  Flags
      pid   

  private static void drain(com.sun.tools.attach.VirtualMachine, java.io.InputStream);
    descriptor: (Lcom/sun/tools/attach/VirtualMachine;Ljava/io/InputStream;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // com.sun.tools.attach.VirtualMachine vm
        start local 1 // java.io.InputStream in
         0: .line 316
            sipush 256
            newarray 8
            astore 2 /* b */
        start local 2 // byte[] b
         1: .line 319
      StackMap locals: byte[]
      StackMap stack:
            aload 1 /* in */
            aload 2 /* b */
            invokevirtual java.io.InputStream.read:([B)I
            istore 3 /* n */
        start local 3 // int n
         2: .line 320
            iload 3 /* n */
            ifle 5
         3: .line 321
            new java.lang.String
            dup
            aload 2 /* b */
            iconst_0
            iload 3 /* n */
            ldc "UTF-8"
            invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
            astore 4 /* s */
        start local 4 // java.lang.String s
         4: .line 322
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            aload 4 /* s */
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        end local 4 // java.lang.String s
         5: .line 324
      StackMap locals: int
      StackMap stack:
            iload 3 /* n */
         6: .line 318
            ifgt 1
         7: .line 325
            aload 1 /* in */
            invokevirtual java.io.InputStream.close:()V
         8: .line 326
            aload 0 /* vm */
            invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
         9: .line 327
            return
        end local 3 // int n
        end local 2 // byte[] b
        end local 1 // java.io.InputStream in
        end local 0 // com.sun.tools.attach.VirtualMachine vm
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0    vm  Lcom/sun/tools/attach/VirtualMachine;
            0   10     1    in  Ljava/io/InputStream;
            1   10     2     b  [B
            2   10     3     n  I
            4    5     4     s  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      vm    
      in    

  private static java.lang.String[] prepend(java.lang.String, java.lang.String[]);
    descriptor: (Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // java.lang.String arg
        start local 1 // java.lang.String[] args
         0: .line 331
            aload 1 /* args */
            arraylength
            iconst_1
            iadd
            anewarray java.lang.String
            astore 2 /* newargs */
        start local 2 // java.lang.String[] newargs
         1: .line 332
            aload 2 /* newargs */
            iconst_0
            aload 0 /* arg */
            aastore
         2: .line 333
            aload 1 /* args */
            iconst_0
            aload 2 /* newargs */
            iconst_1
            aload 1 /* args */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         3: .line 334
            aload 2 /* newargs */
            areturn
        end local 2 // java.lang.String[] newargs
        end local 1 // java.lang.String[] args
        end local 0 // java.lang.String arg
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0      arg  Ljava/lang/String;
            0    4     1     args  [Ljava/lang/String;
            1    4     2  newargs  [Ljava/lang/String;
    MethodParameters:
      Name  Flags
      arg   
      args  

  private static boolean haveSA();
    descriptor: ()Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=0
         0: .line 339
            ldc "sun.jvm.hotspot.tools.HeapSummary"
            invokestatic sun.tools.jmap.JMap.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
            astore 0 /* c */
        start local 0 // java.lang.Class c
         1: .line 340
            aload 0 /* c */
            ifnull 2
            iconst_1
            ireturn
      StackMap locals: java.lang.Class
      StackMap stack:
         2: iconst_0
            ireturn
        end local 0 // java.lang.Class c
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    3     0     c  Ljava/lang/Class<*>;

  private static void usage();
    descriptor: ()V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 345
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "Usage:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 346
            invokestatic sun.tools.jmap.JMap.haveSA:()Z
            ifeq 30
         2: .line 347
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    jmap [option] <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 348
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "        (to connect to running process)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 349
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    jmap [option] <executable <core>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         5: .line 350
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "        (to connect to a core file)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 351
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    jmap [option] [server_id@]<remote server IP or hostname>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         7: .line 352
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "        (to connect to remote debug server)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 353
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         9: .line 354
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "where <option> is one of:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        10: .line 355
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    <none>               to print same info as Solaris pmap"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        11: .line 356
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -heap                to print java heap summary"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        12: .line 357
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -histo[:live]        to print histogram of java object heap; if the \"live\""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        13: .line 358
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                         suboption is specified, only count live objects"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        14: .line 359
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -permstat            to print permanent generation statistics"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        15: .line 360
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -finalizerinfo       to print information on objects awaiting finalization"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        16: .line 361
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -dump:<dump-options> to dump java heap in hprof binary format"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        17: .line 362
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                         dump-options:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        18: .line 363
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                           live         dump only live objects; if not specified,"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        19: .line 364
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                                        all objects in the heap are dumped."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        20: .line 365
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                           format=b     binary format"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        21: .line 366
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                           file=<file>  dump heap to <file>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        22: .line 367
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                         Example: jmap -dump:live,format=b,file=heap.bin <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        23: .line 368
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -F                   force. Use with -dump:<dump-options> <pid> or -histo"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        24: .line 369
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                         to force a heap dump or histogram when <pid> does not"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        25: .line 370
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                         respond. The \"live\" suboption is not supported"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        26: .line 371
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "                         in this mode."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        27: .line 372
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -h | -help           to print this help message"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        28: .line 373
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -J<flag>             to pass <flag> directly to the runtime system"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        29: .line 374
            goto 40
        30: .line 375
      StackMap locals:
      StackMap stack:
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    jmap -histo <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        31: .line 376
            getstatic java.lang.System.out: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
        32: .line 377
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    jmap -dump:<dump-options> <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        33: .line 378
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "      (to connect to running process and dump java heap)"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        34: .line 379
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        35: .line 380
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    dump-options:"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        36: .line 381
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "      format=b     binary default"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        37: .line 382
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "      file=<file>  dump heap to <file>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        38: .line 383
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc ""
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        39: .line 384
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    Example:       jmap -dump:format=b,file=heap.bin <pid>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        40: .line 387
      StackMap locals:
      StackMap stack:
            iconst_1
            invokestatic java.lang.System.exit:(I)V
        41: .line 388
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "JMap.java"