public class org.jruby.runtime.profile.builtin.JsonProfilePrinter 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.JsonProfilePrinter
  super_class: org.jruby.runtime.profile.builtin.ProfilePrinter
{
  private static java.util.Locale JSON_LOCALE;
    descriptor: Ljava/util/Locale;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 38
            getstatic java.util.Locale.ROOT:Ljava/util/Locale;
            putstatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.JSON_LOCALE:Ljava/util/Locale;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  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.JsonProfilePrinter this
        start local 1 // org.jruby.runtime.profile.builtin.ProfileData profileData
         0: .line 41
            aload 0 /* this */
            aload 1 /* profileData */
            invokespecial org.jruby.runtime.profile.builtin.ProfilePrinter.<init>:(Lorg/jruby/runtime/profile/builtin/ProfileData;)V
         1: .line 42
            return
        end local 1 // org.jruby.runtime.profile.builtin.ProfileData profileData
        end local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            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.JsonProfilePrinter this
        start local 1 // org.jruby.runtime.profile.builtin.ProfileData profileData
        start local 2 // org.jruby.runtime.profile.builtin.Invocation topInvocation
         0: .line 45
            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 46
            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.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            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=2, locals=2, args_size=2
        start local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
        start local 1 // java.io.PrintStream out
         0: .line 49
            aload 1 /* out */
            ldc "{\n\t\"thread_profiles\":["
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 50
            return
        end local 1 // java.io.PrintStream out
        end local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            0    2     1   out  Ljava/io/PrintStream;
    MethodParameters:
      Name  Flags
      out   

  public void printFooter(java.io.PrintStream);
    descriptor: (Ljava/io/PrintStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
        start local 1 // java.io.PrintStream out
         0: .line 53
            aload 1 /* out */
            ldc "\n\t]\n}"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         1: .line 54
            return
        end local 1 // java.io.PrintStream out
        end local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            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=8, args_size=3
        start local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
        start local 1 // java.io.PrintStream out
        start local 2 // boolean first
         0: .line 57
            aload 0 /* this */
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.getTopInvocation:()Lorg/jruby/runtime/profile/builtin/Invocation;
            astore 3 /* topInvocation */
        start local 3 // org.jruby.runtime.profile.builtin.Invocation topInvocation
         1: .line 58
            aload 3 /* topInvocation */
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.methodData:(Lorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/util/collections/IntHashMap;
            astore 4 /* methods */
        start local 4 // org.jruby.util.collections.IntHashMap methods
         2: .line 59
            aload 0 /* this */
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.getThreadName:()Ljava/lang/String;
            astore 5 /* threadName */
        start local 5 // java.lang.String threadName
         3: .line 61
            iload 2 /* first */
            ifne 5
         4: .line 62
            aload 1 /* out */
            ldc ","
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         5: .line 65
      StackMap locals: org.jruby.runtime.profile.builtin.Invocation org.jruby.util.collections.IntHashMap java.lang.String
      StackMap stack:
            aload 1 /* out */
            ldc "\t\t{"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         6: .line 66
            aload 1 /* out */
            ldc "\t\t\t\"total_time\":%s,\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.JsonProfilePrinter.nanosToSecondsString:(J)Ljava/lang/String;
            aastore
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
         7: .line 67
            aload 1 /* out */
            ldc "\t\t\t\"thread_name\":\"%s\",\n"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 5 /* threadName */
            aastore
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
         8: .line 68
            aload 1 /* out */
            ldc "\t\t\t\"methods\":["
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         9: .line 70
            aload 4 /* methods */
            invokevirtual org.jruby.util.collections.IntHashMap.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 6 /* i */
        start local 6 // java.util.Iterator i
        10: .line 71
            goto 17
        11: .line 72
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 6 /* i */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.runtime.profile.builtin.MethodData
            astore 7 /* method */
        start local 7 // org.jruby.runtime.profile.builtin.MethodData method
        12: .line 73
            aload 1 /* out */
            ldc "\t\t\t\t"
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        13: .line 74
            aload 1 /* out */
            aload 0 /* this */
            aload 7 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.methodToJson:(Lorg/jruby/runtime/profile/builtin/MethodData;)Ljava/lang/String;
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        14: .line 75
            aload 6 /* i */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 16
        15: .line 76
            aload 1 /* out */
            ldc ","
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        16: .line 78
      StackMap locals: org.jruby.runtime.profile.builtin.MethodData
      StackMap stack:
            aload 1 /* out */
            invokevirtual java.io.PrintStream.println:()V
        end local 7 // org.jruby.runtime.profile.builtin.MethodData method
        17: .line 71
      StackMap locals:
      StackMap stack:
            aload 6 /* i */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        18: .line 81
            aload 1 /* out */
            ldc "\t\t\t]\n\t\t}"
            invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
        19: .line 82
            return
        end local 6 // java.util.Iterator i
        end local 5 // java.lang.String threadName
        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.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   20     0           this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            0   20     1            out  Ljava/io/PrintStream;
            0   20     2          first  Z
            1   20     3  topInvocation  Lorg/jruby/runtime/profile/builtin/Invocation;
            2   20     4        methods  Lorg/jruby/util/collections/IntHashMap<Lorg/jruby/runtime/profile/builtin/MethodData;>;
            3   20     5     threadName  Ljava/lang/String;
           10   20     6              i  Ljava/util/Iterator<Lorg/jruby/runtime/profile/builtin/MethodData;>;
           12   17     7         method  Lorg/jruby/runtime/profile/builtin/MethodData;
    MethodParameters:
       Name  Flags
      out    
      first  

  private java.lang.String methodToJson(org.jruby.runtime.profile.builtin.MethodData);
    descriptor: (Lorg/jruby/runtime/profile/builtin/MethodData;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
        start local 1 // org.jruby.runtime.profile.builtin.MethodData method
         0: .line 85
            bipush 16
            anewarray java.lang.String
            dup
            iconst_0
         1: .line 86
            ldc "id"
            aastore
            dup
            iconst_1
            aload 1 /* method */
            getfield org.jruby.runtime.profile.builtin.MethodData.serialNumber:I
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.quote:(I)Ljava/lang/String;
            aastore
            dup
            iconst_2
         2: .line 87
            ldc "name"
            aastore
            dup
            iconst_3
            aload 0 /* this */
            aload 1 /* method */
            getfield org.jruby.runtime.profile.builtin.MethodData.serialNumber:I
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.methodName:(I)Ljava/lang/String;
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.quote:(Ljava/lang/String;)Ljava/lang/String;
            aastore
            dup
            iconst_4
         3: .line 88
            ldc "total_calls"
            aastore
            dup
            iconst_5
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.totalCalls:()I
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            aastore
            dup
            bipush 6
         4: .line 89
            ldc "total_time"
            aastore
            dup
            bipush 7
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.totalTime:()J
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.nanosToSecondsString:(J)Ljava/lang/String;
            aastore
            dup
            bipush 8
         5: .line 90
            ldc "self_time"
            aastore
            dup
            bipush 9
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.selfTime:()J
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.nanosToSecondsString:(J)Ljava/lang/String;
            aastore
            dup
            bipush 10
         6: .line 91
            ldc "child_time"
            aastore
            dup
            bipush 11
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.childTime:()J
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.nanosToSecondsString:(J)Ljava/lang/String;
            aastore
            dup
            bipush 12
         7: .line 92
            ldc "parents"
            aastore
            dup
            bipush 13
            aload 0 /* this */
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.parentCallsToJson:(Lorg/jruby/runtime/profile/builtin/MethodData;)Ljava/lang/String;
            aastore
            dup
            bipush 14
         8: .line 93
            ldc "children"
            aastore
            dup
            bipush 15
            aload 0 /* this */
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.childCallsToJson:(Lorg/jruby/runtime/profile/builtin/MethodData;)Ljava/lang/String;
            aastore
         9: .line 85
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.toJsonObject:([Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 1 // org.jruby.runtime.profile.builtin.MethodData method
        end local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            0   10     1  method  Lorg/jruby/runtime/profile/builtin/MethodData;
    MethodParameters:
        Name  Flags
      method  

  private java.lang.String parentCallsToJson(org.jruby.runtime.profile.builtin.MethodData);
    descriptor: (Lorg/jruby/runtime/profile/builtin/MethodData;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=5, args_size=2
        start local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
        start local 1 // org.jruby.runtime.profile.builtin.MethodData method
         0: .line 98
            aload 1 /* method */
            getfield org.jruby.runtime.profile.builtin.MethodData.serialNumber:I
            ifne 2
         1: .line 99
            iconst_0
            anewarray java.lang.String
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.toJsonArray:([Ljava/lang/String;)Ljava/lang/String;
            areturn
         2: .line 101
      StackMap locals:
      StackMap stack:
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.parents:()[I
            astore 2 /* parentSerials */
        start local 2 // int[] parentSerials
         3: .line 102
            aload 2 /* parentSerials */
            arraylength
            anewarray java.lang.String
            astore 3 /* parentCalls */
        start local 3 // java.lang.String[] parentCalls
         4: .line 103
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         5: goto 12
         6: .line 104
      StackMap locals: int[] java.lang.String[] int
      StackMap stack:
            aload 3 /* parentCalls */
            iload 4 /* i */
            aload 0 /* this */
         7: .line 105
            aload 2 /* parentSerials */
            iload 4 /* i */
            iaload
         8: .line 106
            aload 1 /* method */
            aload 2 /* parentSerials */
            iload 4 /* i */
            iaload
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.invocationsFromParent:(I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
            invokevirtual org.jruby.runtime.profile.builtin.InvocationSet.totalCalls:()I
         9: .line 107
            aload 1 /* method */
            aload 2 /* parentSerials */
            iload 4 /* i */
            iaload
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.rootInvocationsFromParent:(I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
        10: .line 104
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.callToJson:(IILorg/jruby/runtime/profile/builtin/InvocationSet;)Ljava/lang/String;
            aastore
        11: .line 103
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 4 /* i */
            aload 2 /* parentSerials */
            arraylength
            if_icmplt 6
        end local 4 // int i
        13: .line 110
            aload 3 /* parentCalls */
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.toJsonArray:([Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 3 // java.lang.String[] parentCalls
        end local 2 // int[] parentSerials
        end local 1 // org.jruby.runtime.profile.builtin.MethodData method
        end local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   14     0           this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            0   14     1         method  Lorg/jruby/runtime/profile/builtin/MethodData;
            3   14     2  parentSerials  [I
            4   14     3    parentCalls  [Ljava/lang/String;
            5   13     4              i  I
    MethodParameters:
        Name  Flags
      method  

  private java.lang.String childCallsToJson(org.jruby.runtime.profile.builtin.MethodData);
    descriptor: (Lorg/jruby/runtime/profile/builtin/MethodData;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=5, args_size=2
        start local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
        start local 1 // org.jruby.runtime.profile.builtin.MethodData method
         0: .line 115
            aload 1 /* method */
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.children:()[I
            astore 2 /* childSerials */
        start local 2 // int[] childSerials
         1: .line 116
            aload 2 /* childSerials */
            arraylength
            anewarray java.lang.String
            astore 3 /* childCalls */
        start local 3 // java.lang.String[] childCalls
         2: .line 117
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         3: goto 10
         4: .line 118
      StackMap locals: int[] java.lang.String[] int
      StackMap stack:
            aload 3 /* childCalls */
            iload 4 /* i */
            aload 0 /* this */
         5: .line 119
            aload 2 /* childSerials */
            iload 4 /* i */
            iaload
         6: .line 120
            aload 1 /* method */
            aload 2 /* childSerials */
            iload 4 /* i */
            iaload
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.invocationsOfChild:(I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
            invokevirtual org.jruby.runtime.profile.builtin.InvocationSet.totalCalls:()I
         7: .line 121
            aload 1 /* method */
            aload 2 /* childSerials */
            iload 4 /* i */
            iaload
            invokevirtual org.jruby.runtime.profile.builtin.MethodData.rootInvocationsOfChild:(I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
         8: .line 118
            invokevirtual org.jruby.runtime.profile.builtin.JsonProfilePrinter.callToJson:(IILorg/jruby/runtime/profile/builtin/InvocationSet;)Ljava/lang/String;
            aastore
         9: .line 117
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 4 /* i */
            aload 2 /* childSerials */
            arraylength
            if_icmplt 4
        end local 4 // int i
        11: .line 124
            aload 3 /* childCalls */
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.toJsonArray:([Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 3 // java.lang.String[] childCalls
        end local 2 // int[] childSerials
        end local 1 // org.jruby.runtime.profile.builtin.MethodData method
        end local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0          this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            0   12     1        method  Lorg/jruby/runtime/profile/builtin/MethodData;
            1   12     2  childSerials  [I
            2   12     3    childCalls  [Ljava/lang/String;
            3   11     4             i  I
    MethodParameters:
        Name  Flags
      method  

  private java.lang.String callToJson(int, int, org.jruby.runtime.profile.builtin.InvocationSet);
    descriptor: (IILorg/jruby/runtime/profile/builtin/InvocationSet;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
        start local 1 // int serial
        start local 2 // int calls
        start local 3 // org.jruby.runtime.profile.builtin.InvocationSet invocations
         0: .line 128
            bipush 10
            anewarray java.lang.String
            dup
            iconst_0
         1: .line 129
            ldc "id"
            aastore
            dup
            iconst_1
            iload 1 /* serial */
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.quote:(I)Ljava/lang/String;
            aastore
            dup
            iconst_2
         2: .line 130
            ldc "total_calls"
            aastore
            dup
            iconst_3
            iload 2 /* calls */
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            aastore
            dup
            iconst_4
         3: .line 131
            ldc "total_time"
            aastore
            dup
            iconst_5
            aload 3 /* invocations */
            invokevirtual org.jruby.runtime.profile.builtin.InvocationSet.totalTime:()J
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.nanosToSecondsString:(J)Ljava/lang/String;
            aastore
            dup
            bipush 6
         4: .line 132
            ldc "self_time"
            aastore
            dup
            bipush 7
            aload 3 /* invocations */
            invokevirtual org.jruby.runtime.profile.builtin.InvocationSet.selfTime:()J
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.nanosToSecondsString:(J)Ljava/lang/String;
            aastore
            dup
            bipush 8
         5: .line 133
            ldc "child_time"
            aastore
            dup
            bipush 9
            aload 3 /* invocations */
            invokevirtual org.jruby.runtime.profile.builtin.InvocationSet.childTime:()J
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.nanosToSecondsString:(J)Ljava/lang/String;
            aastore
         6: .line 128
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.toJsonObject:([Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 3 // org.jruby.runtime.profile.builtin.InvocationSet invocations
        end local 2 // int calls
        end local 1 // int serial
        end local 0 // org.jruby.runtime.profile.builtin.JsonProfilePrinter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0         this  Lorg/jruby/runtime/profile/builtin/JsonProfilePrinter;
            0    7     1       serial  I
            0    7     2        calls  I
            0    7     3  invocations  Lorg/jruby/runtime/profile/builtin/InvocationSet;
    MethodParameters:
             Name  Flags
      serial       
      calls        
      invocations  

  private static java.lang.String nanosToSecondsString(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=9, locals=2, args_size=1
        start local 0 // long nanos
         0: .line 138
            getstatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.JSON_LOCALE:Ljava/util/Locale;
            ldc "%f"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 0 /* nanos */
            l2d
            ldc 1.0E9
            ddiv
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // long nanos
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  nanos  J
    MethodParameters:
       Name  Flags
      nanos  

  private static java.lang.String quote(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.lang.String str
         0: .line 142
            ldc "\"%s\""
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* str */
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // java.lang.String str
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   str  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      str   

  private static java.lang.String quote(int);
    descriptor: (I)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // int num
         0: .line 146
            ldc "\"%d\""
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 0 /* num */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // int num
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   num  I
    MethodParameters:
      Name  Flags
      num   

  private static java.lang.String toJsonArray(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljava/lang/String;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // java.lang.String[] values
         0: .line 150
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* buffer */
        start local 1 // java.lang.StringBuilder buffer
         1: .line 151
            aload 1 /* buffer */
            bipush 91
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         2: .line 152
            aload 0 /* values */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 8
      StackMap locals: java.lang.String[] java.lang.StringBuilder top int int java.lang.String[]
      StackMap stack:
         3: aload 5
            iload 3
            aaload
            astore 2 /* v */
        start local 2 // java.lang.String v
         4: .line 153
            aload 1 /* buffer */
            aload 2 /* v */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         5: .line 154
            aload 2 /* v */
            aload 0 /* values */
            aload 0 /* values */
            arraylength
            iconst_1
            isub
            aaload
            if_acmpeq 7
         6: .line 155
            aload 1 /* buffer */
            bipush 44
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 2 // java.lang.String v
         7: .line 152
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         8: iload 3
            iload 4
            if_icmplt 3
         9: .line 158
            aload 1 /* buffer */
            bipush 93
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        10: .line 159
            aload 1 /* buffer */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder buffer
        end local 0 // java.lang.String[] values
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   11     0  values  [Ljava/lang/String;
            1   11     1  buffer  Ljava/lang/StringBuilder;
            4    7     2       v  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      values  

  private static java.lang.String toJsonObject(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljava/lang/String;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // java.lang.String[] keysAndValues
         0: .line 163
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* buffer */
        start local 1 // java.lang.StringBuilder buffer
         1: .line 164
            aload 1 /* buffer */
            bipush 123
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         2: .line 165
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         3: goto 10
         4: .line 166
      StackMap locals: java.lang.StringBuilder int
      StackMap stack:
            aload 1 /* buffer */
            aload 0 /* keysAndValues */
            iload 2 /* i */
            aaload
            invokestatic org.jruby.runtime.profile.builtin.JsonProfilePrinter.quote:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         5: .line 167
            aload 1 /* buffer */
            ldc ":"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 168
            aload 1 /* buffer */
            aload 0 /* keysAndValues */
            iload 2 /* i */
            iconst_1
            iadd
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         7: .line 169
            iload 2 /* i */
            aload 0 /* keysAndValues */
            arraylength
            iconst_3
            isub
            if_icmpge 9
         8: .line 170
            aload 1 /* buffer */
            bipush 44
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         9: .line 165
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 2
      StackMap locals:
      StackMap stack:
        10: iload 2 /* i */
            aload 0 /* keysAndValues */
            arraylength
            if_icmplt 4
        end local 2 // int i
        11: .line 173
            aload 1 /* buffer */
            bipush 125
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        12: .line 174
            aload 1 /* buffer */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder buffer
        end local 0 // java.lang.String[] keysAndValues
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   13     0  keysAndValues  [Ljava/lang/String;
            1   13     1         buffer  Ljava/lang/StringBuilder;
            3   11     2              i  I
    MethodParameters:
               Name  Flags
      keysAndValues  
}
SourceFile: "JsonProfilePrinter.java"