final class jdk.jfr.internal.tool.JSONWriter extends jdk.jfr.internal.tool.EventPrintWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.tool.JSONWriter
super_class: jdk.jfr.internal.tool.EventPrintWriter
{
private boolean first;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.PrintWriter);
descriptor: (Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.jfr.internal.tool.EventPrintWriter.<init>:(Ljava/io/PrintWriter;)V
1: aload 0
iconst_1
putfield jdk.jfr.internal.tool.JSONWriter.first:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 3 1 writer Ljava/io/PrintWriter;
MethodParameters:
Name Flags
writer
protected void printBegin();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
1: aload 0
ldc "recording"
invokevirtual jdk.jfr.internal.tool.JSONWriter.printDataStructureName:(Ljava/lang/String;)V
2: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
3: aload 0
ldc "events"
invokevirtual jdk.jfr.internal.tool.JSONWriter.printDataStructureName:(Ljava/lang/String;)V
4: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayBegin:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/tool/JSONWriter;
protected void print(java.util.List<jdk.jfr.consumer.RecordedEvent>);
descriptor: (Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: jdk.jfr.internal.tool.JSONWriter java.util.List top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.consumer.RecordedEvent
astore 2
start local 2 2: aload 0
aload 0
getfield jdk.jfr.internal.tool.JSONWriter.first:Z
iconst_1
aconst_null
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
3: aload 0
aload 2
invokevirtual jdk.jfr.internal.tool.JSONWriter.printEvent:(Ljdk/jfr/consumer/RecordedEvent;)V
4: aload 0
iconst_0
invokevirtual jdk.jfr.internal.tool.JSONWriter.flush:(Z)V
5: aload 0
iconst_0
putfield jdk.jfr.internal.tool.JSONWriter.first:Z
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 8 1 events Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;
2 6 2 event Ljdk/jfr/consumer/RecordedEvent;
Signature: (Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;)V
MethodParameters:
Name Flags
events
protected void printEnd();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayEnd:()V
1: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
2: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/tool/JSONWriter;
private void printEvent(jdk.jfr.consumer.RecordedEvent);
descriptor: (Ljdk/jfr/consumer/RecordedEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
1: aload 1
invokevirtual jdk.jfr.consumer.RecordedEvent.getEventType:()Ljdk/jfr/EventType;
astore 2
start local 2 2: aload 0
iconst_1
iconst_0
ldc "type"
aload 2
invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.tool.JSONWriter.printValue:(ZZLjava/lang/String;Ljava/lang/Object;)V
3: aload 0
iconst_0
iconst_0
ldc "values"
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
4: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
5: iconst_1
istore 3
start local 3 6: aload 1
invokevirtual jdk.jfr.consumer.RecordedEvent.getFields:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.consumer.RecordedEvent jdk.jfr.EventType int top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
astore 4
start local 4 8: aload 0
iload 3
iconst_0
aload 4
aload 0
aload 1
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.getValue:(Ljdk/jfr/consumer/RecordedObject;Ljdk/jfr/ValueDescriptor;)Ljava/lang/Object;
invokevirtual jdk.jfr.internal.tool.JSONWriter.printValueDescriptor:(ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
9: iconst_0
istore 3
end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
12: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 14 1 event Ljdk/jfr/consumer/RecordedEvent;
2 14 2 type Ljdk/jfr/EventType;
6 14 3 first Z
8 10 4 v Ljdk/jfr/ValueDescriptor;
MethodParameters:
Name Flags
event
void printValue(boolean, boolean, java.lang.String, java.lang.Object);
descriptor: (ZZLjava/lang/String;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
aload 3
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
1: aload 0
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printIfNull:(Ljava/lang/Object;)Z
ifne 25
2: aload 4
instanceof java.lang.Boolean
ifeq 5
3: aload 0
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
4: return
5: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.Double
ifeq 12
6: aload 4
checkcast java.lang.Double
astore 5
start local 5 7: aload 5
invokevirtual java.lang.Double.doubleValue:()D
invokestatic java.lang.Double.isNaN:(D)Z
ifne 8
aload 5
invokevirtual java.lang.Double.doubleValue:()D
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 10
8: StackMap locals: java.lang.Double
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNull:()V
9: return
10: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
11: return
end local 5 12: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.Float
ifeq 19
13: aload 4
checkcast java.lang.Float
astore 5
start local 5 14: aload 5
invokevirtual java.lang.Float.floatValue:()F
invokestatic java.lang.Float.isNaN:(F)Z
ifne 15
aload 5
invokevirtual java.lang.Float.floatValue:()F
invokestatic java.lang.Float.isInfinite:(F)Z
ifeq 17
15: StackMap locals: java.lang.Float
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNull:()V
16: return
17: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
18: return
end local 5 19: StackMap locals:
StackMap stack:
aload 4
instanceof java.lang.Number
ifeq 22
20: aload 0
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
21: return
22: StackMap locals:
StackMap stack:
aload 0
ldc "\""
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
23: aload 0
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.jfr.internal.tool.JSONWriter.printEscaped:(Ljava/lang/String;)V
24: aload 0
ldc "\""
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 26 1 first Z
0 26 2 arrayElement Z
0 26 3 name Ljava/lang/String;
0 26 4 value Ljava/lang/Object;
7 12 5 dValue Ljava/lang/Double;
14 19 5 fValue Ljava/lang/Float;
MethodParameters:
Name Flags
first
arrayElement
name
value
public void printObject(jdk.jfr.consumer.RecordedObject);
descriptor: (Ljdk/jfr/consumer/RecordedObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
1: iconst_1
istore 2
start local 2 2: aload 1
invokevirtual jdk.jfr.consumer.RecordedObject.getFields:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.consumer.RecordedObject int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
astore 3
start local 3 4: aload 0
iload 2
iconst_0
aload 3
aload 0
aload 1
aload 3
invokevirtual jdk.jfr.internal.tool.JSONWriter.getValue:(Ljdk/jfr/consumer/RecordedObject;Ljdk/jfr/ValueDescriptor;)Ljava/lang/Object;
invokevirtual jdk.jfr.internal.tool.JSONWriter.printValueDescriptor:(ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
5: iconst_0
istore 2
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 9 1 object Ljdk/jfr/consumer/RecordedObject;
2 9 2 first Z
4 6 3 v Ljdk/jfr/ValueDescriptor;
MethodParameters:
Name Flags
object
private void printArray(jdk.jfr.ValueDescriptor, java.lang.Object[]);
descriptor: (Ljdk/jfr/ValueDescriptor;[Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayBegin:()V
1: iconst_1
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 10
StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.ValueDescriptor java.lang.Object[] int int top int int java.lang.Object[]
StackMap stack:
4: aload 8
iload 6
aaload
astore 5
start local 5 5: aload 5
instanceof jdk.jfr.consumer.RecordedFrame
ifeq 6
iload 4
aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.getStackDepth:()I
if_icmpge 7
6: StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.ValueDescriptor java.lang.Object[] int int java.lang.Object int int java.lang.Object[]
StackMap stack:
aload 0
iload 3
iconst_1
aload 1
aload 5
invokevirtual jdk.jfr.internal.tool.JSONWriter.printValueDescriptor:(ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
iinc 4 1
8: iconst_0
istore 3
end local 5 9: iinc 6 1
StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.ValueDescriptor java.lang.Object[] int int top int int java.lang.Object[]
StackMap stack:
10: iload 6
iload 7
if_icmplt 4
11: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayEnd:()V
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 13 1 v Ljdk/jfr/ValueDescriptor;
0 13 2 array [Ljava/lang/Object;
2 13 3 first Z
3 13 4 depth I
5 9 5 arrayElement Ljava/lang/Object;
MethodParameters:
Name Flags
v
array
private void printValueDescriptor(boolean, boolean, jdk.jfr.ValueDescriptor, java.lang.Object);
descriptor: (ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokevirtual jdk.jfr.ValueDescriptor.isArray:()Z
ifeq 5
iload 2
ifne 5
1: aload 0
iload 1
iload 2
aload 3
invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
2: aload 0
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printIfNull:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
aload 3
aload 4
checkcast java.lang.Object[]
invokevirtual jdk.jfr.internal.tool.JSONWriter.printArray:(Ljdk/jfr/ValueDescriptor;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 3
invokevirtual jdk.jfr.ValueDescriptor.getFields:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 10
6: aload 0
iload 1
iload 2
aload 3
invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
7: aload 0
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printIfNull:(Ljava/lang/Object;)Z
ifne 9
8: aload 0
aload 4
checkcast jdk.jfr.consumer.RecordedObject
invokevirtual jdk.jfr.internal.tool.JSONWriter.printObject:(Ljdk/jfr/consumer/RecordedObject;)V
9: StackMap locals:
StackMap stack:
return
10: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
aload 3
invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
aload 4
invokevirtual jdk.jfr.internal.tool.JSONWriter.printValue:(ZZLjava/lang/String;Ljava/lang/Object;)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 12 1 first Z
0 12 2 arrayElement Z
0 12 3 vd Ljdk/jfr/ValueDescriptor;
0 12 4 value Ljava/lang/Object;
MethodParameters:
Name Flags
first
arrayElement
vd
value
private void printNewDataStructure(boolean, boolean, java.lang.String);
descriptor: (ZZLjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
ifne 4
1: aload 0
ldc ", "
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
2: iload 2
ifne 4
3: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.println:()V
4: StackMap locals:
StackMap stack:
iload 2
ifne 6
5: aload 0
aload 3
invokevirtual jdk.jfr.internal.tool.JSONWriter.printDataStructureName:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 7 1 first Z
0 7 2 arrayElement Z
0 7 3 name Ljava/lang/String;
MethodParameters:
Name Flags
first
arrayElement
name
private boolean printIfNull(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printNull:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 4 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
private void printNull();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "null"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/tool/JSONWriter;
private void printDataStructureName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printIndent:()V
1: aload 0
ldc "\""
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
3: aload 0
ldc "\": "
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 5 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
private void printObjectEnd();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.retract:()V
1: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.println:()V
2: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.printIndent:()V
3: aload 0
ldc "}"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/tool/JSONWriter;
private void printObjectBegin();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "{"
invokevirtual jdk.jfr.internal.tool.JSONWriter.println:(Ljava/lang/String;)V
1: aload 0
invokevirtual jdk.jfr.internal.tool.JSONWriter.indent:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/tool/JSONWriter;
private void printArrayEnd();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "]"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/tool/JSONWriter;
private void printArrayBegin();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "["
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/tool/JSONWriter;
private void printEscaped(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual jdk.jfr.internal.tool.JSONWriter.printEscaped:(C)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 6 1 text Ljava/lang/String;
1 5 2 i I
MethodParameters:
Name Flags
text
private void printEscaped(char);
descriptor: (C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 8
if_icmpne 3
1: aload 0
ldc "\\b"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpne 6
4: aload 0
ldc "\\n"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
5: return
6: StackMap locals:
StackMap stack:
iload 1
bipush 9
if_icmpne 9
7: aload 0
ldc "\\t"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
8: return
9: StackMap locals:
StackMap stack:
iload 1
bipush 12
if_icmpne 12
10: aload 0
ldc "\\f"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
11: return
12: StackMap locals:
StackMap stack:
iload 1
bipush 13
if_icmpne 15
13: aload 0
ldc "\\r"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
14: return
15: StackMap locals:
StackMap stack:
iload 1
bipush 34
if_icmpne 18
16: aload 0
ldc "\\\""
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
17: return
18: StackMap locals:
StackMap stack:
iload 1
bipush 92
if_icmpne 21
19: aload 0
ldc "\\\\"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
20: return
21: StackMap locals:
StackMap stack:
iload 1
bipush 47
if_icmpne 24
22: aload 0
ldc "\\/"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
23: return
24: StackMap locals:
StackMap stack:
iload 1
bipush 127
if_icmpgt 25
iload 1
bipush 32
if_icmpge 28
25: StackMap locals:
StackMap stack:
aload 0
ldc "\\u"
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
26: aload 0
ldc 65536
iload 1
iadd
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
27: return
28: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(C)V
29: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljdk/jfr/internal/tool/JSONWriter;
0 30 1 c C
MethodParameters:
Name Flags
c
}
SourceFile: "JSONWriter.java"