final class jdk.jfr.consumer.EventParser extends jdk.jfr.consumer.Parser
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.consumer.EventParser
super_class: jdk.jfr.consumer.Parser
{
private final jdk.jfr.consumer.Parser[] parsers;
descriptor: [Ljdk/jfr/consumer/Parser;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.EventType eventType;
descriptor: Ljdk/jfr/EventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.consumer.TimeConverter timeConverter;
descriptor: Ljdk/jfr/consumer/TimeConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean hasDuration;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<jdk.jfr.ValueDescriptor> valueDescriptors;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
void <init>(jdk.jfr.consumer.TimeConverter, jdk.jfr.EventType, jdk.jfr.consumer.Parser[]);
descriptor: (Ljdk/jfr/consumer/TimeConverter;Ljdk/jfr/EventType;[Ljdk/jfr/consumer/Parser;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial jdk.jfr.consumer.Parser.<init>:()V
1: aload 0
aload 1
putfield jdk.jfr.consumer.EventParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
2: aload 0
aload 3
putfield jdk.jfr.consumer.EventParser.parsers:[Ljdk/jfr/consumer/Parser;
3: aload 0
aload 2
putfield jdk.jfr.consumer.EventParser.eventType:Ljdk/jfr/EventType;
4: aload 0
aload 2
ldc "duration"
invokevirtual jdk.jfr.EventType.getField:(Ljava/lang/String;)Ljdk/jfr/ValueDescriptor;
ifnull 5
iconst_1
goto 6
StackMap locals: jdk.jfr.consumer.EventParser jdk.jfr.consumer.TimeConverter jdk.jfr.EventType jdk.jfr.consumer.Parser[]
StackMap stack: jdk.jfr.consumer.EventParser
5: iconst_0
StackMap locals: jdk.jfr.consumer.EventParser jdk.jfr.consumer.TimeConverter jdk.jfr.EventType jdk.jfr.consumer.Parser[]
StackMap stack: jdk.jfr.consumer.EventParser int
6: putfield jdk.jfr.consumer.EventParser.hasDuration:Z
7: aload 0
aload 2
invokevirtual jdk.jfr.EventType.getFields:()Ljava/util/List;
putfield jdk.jfr.consumer.EventParser.valueDescriptors:Ljava/util/List;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/consumer/EventParser;
0 9 1 timeConverter Ljdk/jfr/consumer/TimeConverter;
0 9 2 type Ljdk/jfr/EventType;
0 9 3 parsers [Ljdk/jfr/consumer/Parser;
MethodParameters:
Name Flags
timeConverter
type
parsers
public java.lang.Object parse(jdk.jfr.internal.consumer.RecordingInput);
descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.consumer.EventParser.parsers:[Ljdk/jfr/consumer/Parser;
arraylength
anewarray java.lang.Object
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 2
iload 3
aload 0
getfield jdk.jfr.consumer.EventParser.parsers:[Ljdk/jfr/consumer/Parser;
iload 3
aaload
aload 1
invokevirtual jdk.jfr.consumer.Parser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield jdk.jfr.consumer.EventParser.parsers:[Ljdk/jfr/consumer/Parser;
arraylength
if_icmplt 3
end local 3 6: aload 2
iconst_0
aaload
checkcast java.lang.Long
astore 3
start local 3 7: aload 0
getfield jdk.jfr.consumer.EventParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
aload 3
invokevirtual java.lang.Long.longValue:()J
invokevirtual jdk.jfr.consumer.TimeConverter.convertTimestamp:(J)J
lstore 4
start local 4 8: aload 0
getfield jdk.jfr.consumer.EventParser.hasDuration:Z
ifeq 12
9: aload 2
iconst_1
aaload
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 6
start local 6 10: aload 0
getfield jdk.jfr.consumer.EventParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
aload 3
invokevirtual java.lang.Long.longValue:()J
lload 6
ladd
invokevirtual jdk.jfr.consumer.TimeConverter.convertTimestamp:(J)J
lstore 8
start local 8 11: new jdk.jfr.consumer.RecordedEvent
dup
aload 0
getfield jdk.jfr.consumer.EventParser.eventType:Ljdk/jfr/EventType;
aload 0
getfield jdk.jfr.consumer.EventParser.valueDescriptors:Ljava/util/List;
aload 2
lload 4
lload 8
aload 0
getfield jdk.jfr.consumer.EventParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
invokespecial jdk.jfr.consumer.RecordedEvent.<init>:(Ljdk/jfr/EventType;Ljava/util/List;[Ljava/lang/Object;JJLjdk/jfr/consumer/TimeConverter;)V
areturn
end local 8 end local 6 12: StackMap locals: jdk.jfr.consumer.EventParser jdk.jfr.internal.consumer.RecordingInput java.lang.Object[] java.lang.Long long
StackMap stack:
new jdk.jfr.consumer.RecordedEvent
dup
aload 0
getfield jdk.jfr.consumer.EventParser.eventType:Ljdk/jfr/EventType;
aload 0
getfield jdk.jfr.consumer.EventParser.valueDescriptors:Ljava/util/List;
aload 2
lload 4
lload 4
aload 0
getfield jdk.jfr.consumer.EventParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
invokespecial jdk.jfr.consumer.RecordedEvent.<init>:(Ljdk/jfr/EventType;Ljava/util/List;[Ljava/lang/Object;JJLjdk/jfr/consumer/TimeConverter;)V
areturn
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/consumer/EventParser;
0 13 1 input Ljdk/jfr/internal/consumer/RecordingInput;
1 13 2 values [Ljava/lang/Object;
2 6 3 i I
7 13 3 startTicks Ljava/lang/Long;
8 13 4 startTime J
10 12 6 durationTicks J
11 12 8 endTime J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
}
SourceFile: "EventParser.java"