final class jdk.jfr.consumer.ChunkParser
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.consumer.ChunkParser
super_class: java.lang.Object
{
private static final long CONSTANT_POOL_TYPE_ID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final jdk.jfr.internal.consumer.RecordingInput input;
descriptor: Ljdk/jfr/internal/consumer/RecordingInput;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.consumer.LongMap<jdk.jfr.consumer.Parser> parsers;
descriptor: Ljdk/jfr/consumer/LongMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/Parser;>;
private final jdk.jfr.internal.consumer.ChunkHeader ;
descriptor: Ljdk/jfr/internal/consumer/ChunkHeader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long absoluteChunkEnd;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.MetadataDescriptor metadata;
descriptor: Ljdk/jfr/internal/MetadataDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.consumer.LongMap<jdk.jfr.internal.Type> typeMap;
descriptor: Ljdk/jfr/consumer/LongMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jfr/consumer/LongMap<Ljdk/jfr/internal/Type;>;
private final jdk.jfr.consumer.TimeConverter timeConverter;
descriptor: Ljdk/jfr/consumer/TimeConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.jfr.internal.consumer.RecordingInput);
descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new jdk.jfr.internal.consumer.ChunkHeader
dup
aload 1
invokespecial jdk.jfr.internal.consumer.ChunkHeader.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;)V
invokespecial jdk.jfr.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/consumer/ChunkParser;
0 2 1 input Ljdk/jfr/internal/consumer/RecordingInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
private void (jdk.jfr.internal.consumer.ChunkHeader);
descriptor: (Ljdk/jfr/internal/consumer/ChunkHeader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getInput:()Ljdk/jfr/internal/consumer/RecordingInput;
putfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
2: aload 0
aload 1
putfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
3: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.readMetadata:()Ljdk/jfr/internal/MetadataDescriptor;
putfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
4: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEnd:()J
putfield jdk.jfr.consumer.ChunkParser.absoluteChunkEnd:J
5: aload 0
new jdk.jfr.consumer.TimeConverter
dup
aload 0
getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
aload 0
getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
invokevirtual jdk.jfr.internal.MetadataDescriptor.getGMTOffset:()I
invokespecial jdk.jfr.consumer.TimeConverter.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;I)V
putfield jdk.jfr.consumer.ChunkParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
6: new jdk.jfr.consumer.ParserFactory
dup
aload 0
getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
aload 0
getfield jdk.jfr.consumer.ChunkParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
invokespecial jdk.jfr.consumer.ParserFactory.<init>:(Ljdk/jfr/internal/MetadataDescriptor;Ljdk/jfr/consumer/TimeConverter;)V
astore 2
start local 2 7: aload 2
invokevirtual jdk.jfr.consumer.ParserFactory.getConstantPools:()Ljdk/jfr/consumer/LongMap;
astore 3
start local 3 8: aload 0
aload 2
invokevirtual jdk.jfr.consumer.ParserFactory.getParsers:()Ljdk/jfr/consumer/LongMap;
putfield jdk.jfr.consumer.ChunkParser.parsers:Ljdk/jfr/consumer/LongMap;
9: aload 0
aload 2
invokevirtual jdk.jfr.consumer.ParserFactory.getTypeMap:()Ljdk/jfr/consumer/LongMap;
putfield jdk.jfr.consumer.ChunkParser.typeMap:Ljdk/jfr/consumer/LongMap;
10: aload 0
aload 0
getfield jdk.jfr.consumer.ChunkParser.parsers:Ljdk/jfr/consumer/LongMap;
aload 3
invokevirtual jdk.jfr.consumer.ChunkParser.fillConstantPools:(Ljdk/jfr/consumer/LongMap;Ljdk/jfr/consumer/LongMap;)V
11: aload 3
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jfr/consumer/ConstantMap.setIsResolving()V (5)
(Ljdk/jfr/consumer/ConstantMap;)V
invokevirtual jdk.jfr.consumer.LongMap.forEach:(Ljava/util/function/Consumer;)V
12: aload 3
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jfr/consumer/ConstantMap.resolve()V (5)
(Ljdk/jfr/consumer/ConstantMap;)V
invokevirtual jdk.jfr.consumer.LongMap.forEach:(Ljava/util/function/Consumer;)V
13: aload 3
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/jfr/consumer/ConstantMap.setResolved()V (5)
(Ljdk/jfr/consumer/ConstantMap;)V
invokevirtual jdk.jfr.consumer.LongMap.forEach:(Ljava/util/function/Consumer;)V
14: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
aload 0
getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEventStart:()J
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/jfr/consumer/ChunkParser;
0 16 1 header Ljdk/jfr/internal/consumer/ChunkHeader;
7 16 2 factory Ljdk/jfr/consumer/ParserFactory;
8 16 3 constantPools Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/ConstantMap;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
header
public jdk.jfr.consumer.RecordedEvent readEvent();
descriptor: ()Ljdk/jfr/consumer/RecordedEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: goto 11
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
lstore 1
start local 1 2: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 3
start local 3 3: iload 3
ifne 5
4: new java.io.IOException
dup
ldc "Event can't have zero size"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: long int
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 4
start local 4 6: lload 4
lconst_1
lcmp
ifle 10
7: aload 0
getfield jdk.jfr.consumer.ChunkParser.parsers:Ljdk/jfr/consumer/LongMap;
lload 4
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.consumer.Parser
astore 6
start local 6 8: aload 6
instanceof jdk.jfr.consumer.EventParser
ifeq 10
9: aload 6
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.consumer.Parser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
checkcast jdk.jfr.consumer.RecordedEvent
areturn
end local 6 10: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
lload 1
iload 3
i2l
ladd
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
end local 4 end local 3 end local 1 11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
aload 0
getfield jdk.jfr.consumer.ChunkParser.absoluteChunkEnd:J
lcmp
iflt 1
12: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/consumer/ChunkParser;
2 11 1 pos J
3 11 3 size I
6 11 4 typeId J
8 10 6 ep Ljdk/jfr/consumer/Parser;
Exceptions:
throws java.io.IOException
private void fillConstantPools(jdk.jfr.consumer.LongMap<jdk.jfr.consumer.Parser>, jdk.jfr.consumer.LongMap<jdk.jfr.consumer.ConstantMap>);
descriptor: (Ljdk/jfr/consumer/LongMap;Ljdk/jfr/consumer/LongMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=27, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getAbsoluteChunkStart:()J
lstore 3
start local 3 1: aload 0
getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getConstantPoolPosition:()J
lstore 5
start local 5 2: goto 47
3: StackMap locals: long long
StackMap stack:
lload 3
lload 5
ladd
lstore 3
4: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
lload 3
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
5: lload 3
lstore 7
start local 7 6: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 9
start local 9 7: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 10
start local 10 8: lload 10
lconst_1
lcmp
ifeq 10
9: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Expected check point event (id = 1) at position "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", but found type id = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 10
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: long int long
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
pop2
11: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
pop2
12: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 5
13: lload 5
lstore 12
start local 12 14: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readBoolean:()Z
istore 14
start local 14 15: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 15
start local 15 16: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
lload 7
iload 9
lload 12
iload 14
iload 15
invokedynamic get(JIJZI)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/consumer/ChunkParser.lambda$3(JIJZI)Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
17: iconst_0
istore 16
start local 16 18: goto 44
19: StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long long int long long int int int
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 17
start local 17 20: aload 2
lload 17
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.consumer.ConstantMap
astore 19
start local 19 21: aload 0
getfield jdk.jfr.consumer.ChunkParser.typeMap:Ljdk/jfr/consumer/LongMap;
lload 17
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 20
start local 20 22: aload 19
ifnonnull 28
23: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Found constant pool("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 17
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ") that is never used"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
24: aload 20
ifnonnull 26
25: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Error parsing constant pool type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
lload 17
invokevirtual jdk.jfr.consumer.ChunkParser.getName:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " at position "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " at check point between ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
iload 9
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals: long jdk.jfr.consumer.ConstantMap jdk.jfr.internal.Type
StackMap stack:
new jdk.jfr.consumer.ConstantMap
dup
aload 20
aload 0
getfield jdk.jfr.consumer.ChunkParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
invokestatic jdk.jfr.consumer.ObjectFactory.create:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
aload 20
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
invokespecial jdk.jfr.consumer.ConstantMap.<init>:(Ljdk/jfr/consumer/ObjectFactory;Ljava/lang/String;)V
astore 19
27: aload 2
aload 20
invokevirtual jdk.jfr.internal.Type.getId:()J
aload 19
invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
28: StackMap locals:
StackMap stack:
aload 1
lload 17
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.consumer.Parser
astore 21
start local 21 29: aload 21
ifnonnull 31
30: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Could not find constant pool type with id = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 17
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals: jdk.jfr.consumer.Parser
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 22
start local 22 32: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
aload 0
lload 17
iload 22
invokedynamic get(Ljdk/jfr/consumer/ChunkParser;JI)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/consumer/ChunkParser.lambda$4(JI)Ljava/lang/String; (7)
()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
33: iconst_0
istore 23
start local 23 34: goto 39
35: StackMap locals: int int
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 24
start local 24 36: aload 21
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.consumer.Parser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
astore 26
start local 26 37: aload 19
lload 24
aload 26
invokevirtual jdk.jfr.consumer.ConstantMap.put:(JLjava/lang/Object;)V
end local 26 end local 24 38: iinc 23 1
StackMap locals:
StackMap stack:
39: iload 23
iload 22
if_icmplt 35
end local 23 end local 22 40: goto 43
StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long long int long long int int int long jdk.jfr.consumer.ConstantMap jdk.jfr.internal.Type jdk.jfr.consumer.Parser
StackMap stack: java.lang.Exception
41: astore 22
start local 22 42: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Error parsing constant pool type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
lload 17
invokevirtual jdk.jfr.consumer.ChunkParser.getName:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " at position "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " at check point between ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
iload 9
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 22
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 22 end local 21 end local 20 end local 19 end local 17 43: StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long long int long long int int int
StackMap stack:
iinc 16 1
StackMap locals:
StackMap stack:
44: iload 16
iload 15
if_icmplt 19
end local 16 45: aload 0
getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
lload 3
iload 9
i2l
ladd
lcmp
ifeq 47
46: new java.io.IOException
dup
ldc "Size of check point event doesn't match content"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 15 end local 14 end local 12 end local 10 end local 9 end local 7 47: StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long
StackMap stack:
lload 5
lconst_0
lcmp
ifne 3
48: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Ljdk/jfr/consumer/ChunkParser;
0 49 1 typeParser Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/Parser;>;
0 49 2 constantPools Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/ConstantMap;>;
1 49 3 nextCP J
2 49 5 deltaToNext J
6 47 7 position J
7 47 9 size I
8 47 10 typeId J
14 47 12 delta J
15 47 14 flush Z
16 47 15 poolCount I
18 45 16 i I
20 43 17 id J
21 43 19 pool Ljdk/jfr/consumer/ConstantMap;
22 43 20 type Ljdk/jfr/internal/Type;
29 43 21 parser Ljdk/jfr/consumer/Parser;
32 40 22 count I
34 40 23 j I
36 38 24 key J
37 38 26 value Ljava/lang/Object;
42 43 22 e Ljava/lang/Exception;
Exception table:
from to target type
31 40 41 Class java.lang.Exception
Exceptions:
throws java.io.IOException
Signature: (Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/Parser;>;Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/ConstantMap;>;)V
MethodParameters:
Name Flags
typeParser
constantPools
private java.lang.String getName(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.consumer.ChunkParser.typeMap:Ljdk/jfr/consumer/LongMap;
lload 1
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 3
start local 3 1: aload 3
ifnonnull 2
new java.lang.StringBuilder
dup
ldc "unknown("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
StackMap locals: jdk.jfr.internal.Type
StackMap stack:
2: aload 3
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/consumer/ChunkParser;
0 4 1 id J
1 4 3 type Ljdk/jfr/internal/Type;
MethodParameters:
Name Flags
id
public java.util.Collection<jdk.jfr.internal.Type> getTypes();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
invokevirtual jdk.jfr.internal.MetadataDescriptor.getTypes:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/ChunkParser;
Signature: ()Ljava/util/Collection<Ljdk/jfr/internal/Type;>;
public java.util.List<jdk.jfr.EventType> getEventTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
invokevirtual jdk.jfr.internal.MetadataDescriptor.getEventTypes:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/ChunkParser;
Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;
public boolean isLastChunk();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.isLastChunk:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/ChunkParser;
public jdk.jfr.consumer.ChunkParser nextChunkParser();
descriptor: ()Ljdk/jfr/consumer/ChunkParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.jfr.consumer.ChunkParser
dup
aload 0
getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.nextHeader:()Ljdk/jfr/internal/consumer/ChunkHeader;
invokespecial jdk.jfr.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/ChunkParser;
Exceptions:
throws java.io.IOException
private static java.lang.String lambda$3(long, int, long, boolean, int);
descriptor: (JIJZI)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=7, args_size=5
0: new java.lang.StringBuilder
dup
ldc "New constant pool: startPosition="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 0
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", deltaToNext="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", flush="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc ", poolCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.String lambda$4(long, int);
descriptor: (JI)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 0: new java.lang.StringBuilder
dup
ldc "Constant: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
lload 1
invokevirtual jdk.jfr.consumer.ChunkParser.getName:(J)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;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/ChunkParser;
}
SourceFile: "ChunkParser.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles