public class sun.jvm.hotspot.tools.HeapDumper extends sun.jvm.hotspot.tools.Tool
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.jvm.hotspot.tools.HeapDumper
  super_class: sun.jvm.hotspot.tools.Tool
{
  private static java.lang.String DEFAULT_DUMP_FILE;
    descriptor: Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 39
            ldc "heap.bin"
            putstatic sun.jvm.hotspot.tools.HeapDumper.DEFAULT_DUMP_FILE:Ljava/lang/String;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.HeapDumper this
         0: .line 43
            aload 0 /* this */
            invokespecial sun.jvm.hotspot.tools.Tool.<init>:()V
         1: .line 44
            aload 0 /* this */
            getstatic sun.jvm.hotspot.tools.HeapDumper.DEFAULT_DUMP_FILE:Ljava/lang/String;
            putfield sun.jvm.hotspot.tools.HeapDumper.dumpFile:Ljava/lang/String;
         2: .line 45
            return
        end local 0 // sun.jvm.hotspot.tools.HeapDumper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/jvm/hotspot/tools/HeapDumper;

  public void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.jvm.hotspot.tools.HeapDumper this
        start local 1 // java.lang.String dumpFile
         0: .line 47
            aload 0 /* this */
            invokespecial sun.jvm.hotspot.tools.Tool.<init>:()V
         1: .line 48
            aload 0 /* this */
            aload 1 /* dumpFile */
            putfield sun.jvm.hotspot.tools.HeapDumper.dumpFile:Ljava/lang/String;
         2: .line 49
            return
        end local 1 // java.lang.String dumpFile
        end local 0 // sun.jvm.hotspot.tools.HeapDumper this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lsun/jvm/hotspot/tools/HeapDumper;
            0    3     1  dumpFile  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      dumpFile  

  public void <init>(java.lang.String, sun.jvm.hotspot.debugger.JVMDebugger);
    descriptor: (Ljava/lang/String;Lsun/jvm/hotspot/debugger/JVMDebugger;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // sun.jvm.hotspot.tools.HeapDumper this
        start local 1 // java.lang.String dumpFile
        start local 2 // sun.jvm.hotspot.debugger.JVMDebugger d
         0: .line 52
            aload 0 /* this */
            aload 2 /* d */
            invokespecial sun.jvm.hotspot.tools.Tool.<init>:(Lsun/jvm/hotspot/debugger/JVMDebugger;)V
         1: .line 53
            aload 0 /* this */
            aload 1 /* dumpFile */
            putfield sun.jvm.hotspot.tools.HeapDumper.dumpFile:Ljava/lang/String;
         2: .line 54
            return
        end local 2 // sun.jvm.hotspot.debugger.JVMDebugger d
        end local 1 // java.lang.String dumpFile
        end local 0 // sun.jvm.hotspot.tools.HeapDumper this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lsun/jvm/hotspot/tools/HeapDumper;
            0    3     1  dumpFile  Ljava/lang/String;
            0    3     2         d  Lsun/jvm/hotspot/debugger/JVMDebugger;
    MethodParameters:
          Name  Flags
      dumpFile  
      d         

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.HeapDumper this
         0: .line 58
            ldc "heapDumper"
            areturn
        end local 0 // sun.jvm.hotspot.tools.HeapDumper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/jvm/hotspot/tools/HeapDumper;

  protected void printFlagsUsage();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.jvm.hotspot.tools.HeapDumper this
         0: .line 62
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "    <no option>\tto dump heap to "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 63
            getstatic sun.jvm.hotspot.tools.HeapDumper.DEFAULT_DUMP_FILE:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 62
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 64
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "    -f <file>\tto dump heap to <file>"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         4: .line 65
            aload 0 /* this */
            invokespecial sun.jvm.hotspot.tools.Tool.printFlagsUsage:()V
         5: .line 66
            return
        end local 0 // sun.jvm.hotspot.tools.HeapDumper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/jvm/hotspot/tools/HeapDumper;

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // sun.jvm.hotspot.tools.HeapDumper this
         0: .line 70
            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 0 /* this */
            getfield sun.jvm.hotspot.tools.HeapDumper.dumpFile:Ljava/lang/String;
            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
         1: .line 72
            new sun.jvm.hotspot.utilities.HeapHprofBinWriter
            dup
            invokespecial sun.jvm.hotspot.utilities.HeapHprofBinWriter.<init>:()V
            aload 0 /* this */
            getfield sun.jvm.hotspot.tools.HeapDumper.dumpFile:Ljava/lang/String;
            invokevirtual sun.jvm.hotspot.utilities.HeapHprofBinWriter.write:(Ljava/lang/String;)V
         2: .line 73
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "Heap dump file created"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         3: .line 74
            goto 6
      StackMap locals:
      StackMap stack: java.io.IOException
         4: astore 1 /* ioe */
        start local 1 // java.io.IOException ioe
         5: .line 75
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            aload 1 /* ioe */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        end local 1 // java.io.IOException ioe
         6: .line 77
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.jvm.hotspot.tools.HeapDumper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/jvm/hotspot/tools/HeapDumper;
            5    6     1   ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           1     3       4  Class java.io.IOException

  public static void main(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String[] args
         0: .line 82
            new sun.jvm.hotspot.tools.HeapDumper
            dup
            invokespecial sun.jvm.hotspot.tools.HeapDumper.<init>:()V
            astore 1 /* dumper */
        start local 1 // sun.jvm.hotspot.tools.HeapDumper dumper
         1: .line 83
            aload 1 /* dumper */
            aload 0 /* args */
            invokevirtual sun.jvm.hotspot.tools.HeapDumper.runWithArgs:([Ljava/lang/String;)V
         2: .line 84
            return
        end local 1 // sun.jvm.hotspot.tools.HeapDumper dumper
        end local 0 // java.lang.String[] args
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    args  [Ljava/lang/String;
            1    3     1  dumper  Lsun/jvm/hotspot/tools/HeapDumper;
    MethodParameters:
      Name  Flags
      args  

  public void runWithArgs(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // sun.jvm.hotspot.tools.HeapDumper this
        start local 1 // java.lang.String[] args
         0: .line 87
            aload 1 /* args */
            arraylength
            iconst_2
            if_icmple 6
         1: .line 88
            aload 1 /* args */
            iconst_0
            aaload
            ldc "-f"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         2: .line 89
            aload 0 /* this */
            aload 1 /* args */
            iconst_1
            aaload
            putfield sun.jvm.hotspot.tools.HeapDumper.dumpFile:Ljava/lang/String;
         3: .line 90
            aload 1 /* args */
            arraylength
            iconst_2
            isub
            anewarray java.lang.String
            astore 2 /* newargs */
        start local 2 // java.lang.String[] newargs
         4: .line 91
            aload 1 /* args */
            iconst_2
            aload 2 /* newargs */
            iconst_0
            aload 1 /* args */
            arraylength
            iconst_2
            isub
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         5: .line 92
            aload 2 /* newargs */
            astore 1 /* args */
        end local 2 // java.lang.String[] newargs
         6: .line 96
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* args */
            invokevirtual sun.jvm.hotspot.tools.HeapDumper.execute:([Ljava/lang/String;)V
         7: .line 97
            return
        end local 1 // java.lang.String[] args
        end local 0 // sun.jvm.hotspot.tools.HeapDumper this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lsun/jvm/hotspot/tools/HeapDumper;
            0    8     1     args  [Ljava/lang/String;
            4    6     2  newargs  [Ljava/lang/String;
    MethodParameters:
      Name  Flags
      args  
}
SourceFile: "HeapDumper.java"