public class org.jruby.runtime.profile.builtin.FlatProfilePrinter extends org.jruby.runtime.profile.builtin.ProfilePrinter
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.runtime.profile.builtin.FlatProfilePrinter
  super_class: org.jruby.runtime.profile.builtin.ProfilePrinter
{
  private static final int SERIAL_OFFSET;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private static final int SELFTIME_OFFSET;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final int COUNT_OFFSET;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private static final int AGGREGATETIME_OFFSET;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 3

  public void <init>(org.jruby.runtime.profile.builtin.ProfileData);
    descriptor: (Lorg/jruby/runtime/profile/builtin/ProfileData;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
        start local 1 // org.jruby.runtime.profile.builtin.ProfileData profileData
         0: .line 44
            aload 0 /* this */
            aload 1 /* profileData */
            invokespecial org.jruby.runtime.profile.builtin.ProfilePrinter.<init>:(Lorg/jruby/runtime/profile/builtin/ProfileData;)V
         1: .line 45
            return
        end local 1 // org.jruby.runtime.profile.builtin.ProfileData profileData
        end local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Lorg/jruby/runtime/profile/builtin/FlatProfilePrinter;
            0    2     1  profileData  Lorg/jruby/runtime/profile/builtin/ProfileData;
    MethodParameters:
             Name  Flags
      profileData  

  void <init>(org.jruby.runtime.profile.builtin.ProfileData, org.jruby.runtime.profile.builtin.Invocation);
    descriptor: (Lorg/jruby/runtime/profile/builtin/ProfileData;Lorg/jruby/runtime/profile/builtin/Invocation;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
        start local 1 // org.jruby.runtime.profile.builtin.ProfileData profileData
        start local 2 // org.jruby.runtime.profile.builtin.Invocation topInvocation
         0: .line 48
            aload 0 /* this */
            aload 1 /* profileData */
            aload 2 /* topInvocation */
            invokespecial org.jruby.runtime.profile.builtin.ProfilePrinter.<init>:(Lorg/jruby/runtime/profile/builtin/ProfileData;Lorg/jruby/runtime/profile/builtin/Invocation;)V
         1: .line 49
            return
        end local 2 // org.jruby.runtime.profile.builtin.Invocation topInvocation
        end local 1 // org.jruby.runtime.profile.builtin.ProfileData profileData
        end local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Lorg/jruby/runtime/profile/builtin/FlatProfilePrinter;
            0    2     1    profileData  Lorg/jruby/runtime/profile/builtin/ProfileData;
            0    2     2  topInvocation  Lorg/jruby/runtime/profile/builtin/Invocation;
    MethodParameters:
               Name  Flags
      profileData    
      topInvocation  

  public void printHeader(java.io.PrintStream);
    descriptor: (Ljava/io/PrintStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
        start local 1 // java.io.PrintStream out
         0: .line 52
            aload 1 /* out */
            ldc "\n%s profile results:\n"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            invokevirtual org.jruby.runtime.profile.builtin.FlatProfilePrinter.getThreadName:()Ljava/lang/String;
            aastore
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
         1: .line 53
            return
        end local 1 // java.io.PrintStream out
        end local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jruby/runtime/profile/builtin/FlatProfilePrinter;
            0    2     1   out  Ljava/io/PrintStream;
    MethodParameters:
      Name  Flags
      out   

  public void printProfile(java.io.PrintStream, boolean);
    descriptor: (Ljava/io/PrintStream;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=14, args_size=3
        start local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
        start local 1 // java.io.PrintStream out
        start local 2 // boolean first
         0: .line 56
            aload 0 /* this */
            invokevirtual org.jruby.runtime.profile.builtin.FlatProfilePrinter.getTopInvocation:()Lorg/jruby/runtime/profile/builtin/Invocation;
            astore 3 /* topInvocation */
        start local 3 // org.jruby.runtime.profile.builtin.Invocation topInvocation
         1: .line 57
            aload 1 /* out */
            ldc "Total time: %s\n\n"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 3 /* topInvocation */
            invokevirtual org.jruby.runtime.profile.builtin.Invocation.getDuration:()J
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.nanoString:(J)Ljava/lang/String;
            aastore
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
         2: .line 59
            aload 3 /* topInvocation */
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.methodData:(Lorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/util/collections/IntHashMap;
            astore 4 /* methods */
        start local 4 // org.jruby.util.collections.IntHashMap methods
         3: .line 60
            aload 4 /* methods */
            invokevirtual org.jruby.util.collections.IntHashMap.size:()I
            anewarray long[]
            astore 5 /* tuples */
        start local 5 // long[][] tuples
         4: .line 62
            iconst_0
            istore 6 /* j */
        start local 6 // int j
         5: .line 63
            aload 4 /* methods */
            invokevirtual org.jruby.util.collections.IntHashMap.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 8
            goto 9
      StackMap locals: org.jruby.runtime.profile.builtin.FlatProfilePrinter java.io.PrintStream int org.jruby.runtime.profile.builtin.Invocation org.jruby.util.collections.IntHashMap long[][] int top java.util.Iterator
      StackMap stack:
         6: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.util.collections.IntHashMap$Entry
            astore 7 /* entry */
        start local 7 // org.jruby.util.collections.IntHashMap$Entry entry
         7: .line 64
            aload 7 /* entry */
            invokevirtual org.jruby.util.collections.IntHashMap$Entry.getValue:()Ljava/lang/Object;
            checkcast org.jruby.runtime.profile.builtin.MethodData
            astore 9 /* method */
        start local 9 // org.jruby.runtime.profile.builtin.MethodData method
         8: .line 65
            aload 5 /* tuples */
            iload 6 /* j */
            iinc 6 /* j */ 1
            iconst_4
            newarray 11
            dup
            iconst_0
            aload 7 /* entry */
            invokevirtual org.jruby.util.collections.IntHashMap$Entry.getKey:()I
            i2l
            lastore
            dup
            iconst_1
            aload 9 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.selfTime:()J
            lastore
            dup
            iconst_2
            aload 9 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.totalCalls:()I
            i2l
            lastore
            dup
            iconst_3
            aload 9 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.totalTime:()J
            lastore
            aastore
        end local 9 // org.jruby.runtime.profile.builtin.MethodData method
        end local 7 // org.jruby.util.collections.IntHashMap$Entry entry
         9: .line 63
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 6
        10: .line 68
            aload 5 /* tuples */
            new org.jruby.runtime.profile.builtin.FlatProfilePrinter$1
            dup
            aload 0 /* this */
            invokespecial org.jruby.runtime.profile.builtin.FlatProfilePrinter$1.<init>:(Lorg/jruby/runtime/profile/builtin/FlatProfilePrinter;)V
            invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
        11: .line 76
            aload 1 /* out */
            ldc "     total        self    children       calls  method"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        12: .line 77
            aload 1 /* out */
            ldc "----------------------------------------------------------------"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        13: .line 78
            iconst_0
            istore 7 /* lines */
        start local 7 // int lines
        14: .line 79
            aload 5 /* tuples */
            dup
            astore 11
            arraylength
            istore 10
            iconst_0
            istore 9
            goto 34
      StackMap locals: org.jruby.runtime.profile.builtin.FlatProfilePrinter java.io.PrintStream int org.jruby.runtime.profile.builtin.Invocation org.jruby.util.collections.IntHashMap long[][] int int top int int long[][]
      StackMap stack:
        15: aload 11
            iload 9
            aaload
            astore 8 /* tuple */
        start local 8 // long[] tuple
        16: .line 80
            aload 8 /* tuple */
            iconst_3
            laload
            lconst_0
            lcmp
            ifne 18
        17: .line 81
            goto 35
        18: .line 83
      StackMap locals: org.jruby.runtime.profile.builtin.FlatProfilePrinter java.io.PrintStream int org.jruby.runtime.profile.builtin.Invocation org.jruby.util.collections.IntHashMap long[][] int int long[] int int long[][]
      StackMap stack:
            aload 8 /* tuple */
            iconst_0
            laload
            l2i
            istore 12 /* index */
        start local 12 // int index
        19: .line 84
            iload 12 /* index */
            ifeq 31
        20: .line 85
            iinc 7 /* lines */ 1
        21: .line 86
            aload 0 /* this */
            iload 12 /* index */
            invokevirtual org.jruby.runtime.profile.builtin.FlatProfilePrinter.methodName:(I)Ljava/lang/String;
            astore 13 /* name */
        start local 13 // java.lang.String name
        22: .line 87
            aload 1 /* out */
            bipush 10
            aload 8 /* tuple */
            iconst_3
            laload
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.nanoString:(J)Ljava/lang/String;
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.pad:(Ljava/io/PrintStream;ILjava/lang/String;)V
        23: .line 88
            aload 1 /* out */
            ldc "  "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        24: .line 89
            aload 1 /* out */
            bipush 10
            aload 8 /* tuple */
            iconst_1
            laload
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.nanoString:(J)Ljava/lang/String;
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.pad:(Ljava/io/PrintStream;ILjava/lang/String;)V
        25: .line 90
            aload 1 /* out */
            ldc "  "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        26: .line 91
            aload 1 /* out */
            bipush 10
            aload 8 /* tuple */
            iconst_3
            laload
            aload 8 /* tuple */
            iconst_1
            laload
            lsub
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.nanoString:(J)Ljava/lang/String;
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.pad:(Ljava/io/PrintStream;ILjava/lang/String;)V
        27: .line 92
            aload 1 /* out */
            ldc "  "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        28: .line 93
            aload 1 /* out */
            bipush 10
            aload 8 /* tuple */
            iconst_2
            laload
            invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
            invokestatic org.jruby.runtime.profile.builtin.FlatProfilePrinter.pad:(Ljava/io/PrintStream;ILjava/lang/String;)V
        29: .line 94
            aload 1 /* out */
            ldc "  "
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        30: .line 95
            aload 1 /* out */
            aload 13 /* name */
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        end local 13 // java.lang.String name
        31: .line 97
      StackMap locals: int
      StackMap stack:
            iload 7 /* lines */
            bipush 50
            if_icmpne 33
        32: .line 98
            goto 35
        end local 12 // int index
        end local 8 // long[] tuple
        33: .line 79
      StackMap locals: org.jruby.runtime.profile.builtin.FlatProfilePrinter java.io.PrintStream int org.jruby.runtime.profile.builtin.Invocation org.jruby.util.collections.IntHashMap long[][] int int top int int long[][]
      StackMap stack:
            iinc 9 1
      StackMap locals:
      StackMap stack:
        34: iload 9
            iload 10
            if_icmplt 15
        35: .line 101
      StackMap locals: org.jruby.runtime.profile.builtin.FlatProfilePrinter java.io.PrintStream int org.jruby.runtime.profile.builtin.Invocation org.jruby.util.collections.IntHashMap long[][] int int
      StackMap stack:
            return
        end local 7 // int lines
        end local 6 // int j
        end local 5 // long[][] tuples
        end local 4 // org.jruby.util.collections.IntHashMap methods
        end local 3 // org.jruby.runtime.profile.builtin.Invocation topInvocation
        end local 2 // boolean first
        end local 1 // java.io.PrintStream out
        end local 0 // org.jruby.runtime.profile.builtin.FlatProfilePrinter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   36     0           this  Lorg/jruby/runtime/profile/builtin/FlatProfilePrinter;
            0   36     1            out  Ljava/io/PrintStream;
            0   36     2          first  Z
            1   36     3  topInvocation  Lorg/jruby/runtime/profile/builtin/Invocation;
            3   36     4        methods  Lorg/jruby/util/collections/IntHashMap<Lorg/jruby/runtime/profile/builtin/MethodData;>;
            4   36     5         tuples  [[J
            5   36     6              j  I
            7    9     7          entry  Lorg/jruby/util/collections/IntHashMap$Entry<Lorg/jruby/runtime/profile/builtin/MethodData;>;
            8    9     9         method  Lorg/jruby/runtime/profile/builtin/MethodData;
           14   36     7          lines  I
           16   33     8          tuple  [J
           19   33    12          index  I
           22   31    13           name  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      out    
      first  
}
SourceFile: "FlatProfilePrinter.java"
NestMembers:
  org.jruby.runtime.profile.builtin.FlatProfilePrinter$1
InnerClasses:
  org.jruby.runtime.profile.builtin.FlatProfilePrinter$1
  public Entry = org.jruby.util.collections.IntHashMap$Entry of org.jruby.util.collections.IntHashMap