public final class jdk.jfr.internal.consumer.ChunkParser
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.ChunkParser
super_class: java.lang.Object
{
public static final jdk.jfr.consumer.RecordedEvent FLUSH_MARKER;
descriptor: Ljdk/jfr/consumer/RecordedEvent;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
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.internal.consumer.ChunkHeader ;
descriptor: Ljdk/jfr/internal/consumer/ChunkHeader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.consumer.TimeConverter timeConverter;
descriptor: Ljdk/jfr/internal/consumer/TimeConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.LongMap<jdk.jfr.internal.consumer.ConstantLookup> constantLookups;
descriptor: Ljdk/jfr/internal/LongMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jfr/internal/LongMap<Ljdk/jfr/internal/consumer/ConstantLookup;>;
private jdk.jfr.internal.LongMap<jdk.jfr.internal.Type> typeMap;
descriptor: Ljdk/jfr/internal/LongMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/jfr/internal/LongMap<Ljdk/jfr/internal/Type;>;
private jdk.jfr.internal.LongMap<jdk.jfr.internal.consumer.Parser> parsers;
descriptor: Ljdk/jfr/internal/LongMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/jfr/internal/LongMap<Ljdk/jfr/internal/consumer/Parser;>;
private boolean chunkFinished;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration configuration;
descriptor: Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
flags: (0x0002) ACC_PRIVATE
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private jdk.jfr.internal.MetadataDescriptor previousMetadata;
descriptor: Ljdk/jfr/internal/MetadataDescriptor;
flags: (0x0002) ACC_PRIVATE
private jdk.jfr.internal.MetadataDescriptor metadata;
descriptor: Ljdk/jfr/internal/MetadataDescriptor;
flags: (0x0002) ACC_PRIVATE
private boolean staleMetadata;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: invokestatic jdk.jfr.internal.consumer.JdkJfrConsumer.instance:()Ljdk/jfr/internal/consumer/JdkJfrConsumer;
aconst_null
aconst_null
lconst_0
lconst_0
invokevirtual jdk.jfr.internal.consumer.JdkJfrConsumer.newRecordedEvent:(Ljdk/jfr/internal/consumer/ObjectContext;[Ljava/lang/Object;JJ)Ljdk/jfr/consumer/RecordedEvent;
putstatic jdk.jfr.internal.consumer.ChunkParser.FLUSH_MARKER:Ljdk/jfr/consumer/RecordedEvent;
1: return
LocalVariableTable:
Start End Slot Name Signature
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
aload 1
new jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration
dup
invokespecial jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.<init>:()V
invokespecial jdk.jfr.internal.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 2 1 input Ljdk/jfr/internal/consumer/RecordingInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
void <init>(jdk.jfr.internal.consumer.RecordingInput, jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration);
descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 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
aconst_null
aload 2
invokespecial jdk.jfr.internal.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;Ljdk/jfr/internal/consumer/ChunkParser;Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 2 1 input Ljdk/jfr/internal/consumer/RecordingInput;
0 2 2 pc Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
pc
private void <init>(jdk.jfr.internal.consumer.ChunkParser);
descriptor: (Ljdk/jfr/internal/consumer/ChunkParser;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new jdk.jfr.internal.consumer.ChunkHeader
dup
aload 1
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokespecial jdk.jfr.internal.consumer.ChunkHeader.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;)V
aload 1
new jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration
dup
invokespecial jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.<init>:()V
invokespecial jdk.jfr.internal.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;Ljdk/jfr/internal/consumer/ChunkParser;Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 2 1 previous Ljdk/jfr/internal/consumer/ChunkParser;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
previous
private void (jdk.jfr.internal.consumer.ChunkHeader, jdk.jfr.internal.consumer.ChunkParser, jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration);
descriptor: (Ljdk/jfr/internal/consumer/ChunkHeader;Ljdk/jfr/internal/consumer/ChunkParser;Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield jdk.jfr.internal.consumer.ChunkParser.staleMetadata:Z
2: aload 0
aload 3
putfield jdk.jfr.internal.consumer.ChunkParser.configuration:Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
3: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getInput:()Ljdk/jfr/internal/consumer/RecordingInput;
putfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
4: aload 0
aload 1
putfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
5: aload 2
ifnonnull 9
6: aload 0
new jdk.jfr.internal.LongMap
dup
invokespecial jdk.jfr.internal.LongMap.<init>:()V
putfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
7: aload 0
aconst_null
putfield jdk.jfr.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
8: goto 12
9: StackMap locals: jdk.jfr.internal.consumer.ChunkParser jdk.jfr.internal.consumer.ChunkHeader jdk.jfr.internal.consumer.ChunkParser jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration
StackMap stack:
aload 0
aload 2
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
putfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
10: aload 0
aload 2
getfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
putfield jdk.jfr.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
11: aload 0
aload 2
getfield jdk.jfr.internal.consumer.ChunkParser.configuration:Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
putfield jdk.jfr.internal.consumer.ChunkParser.configuration:Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
12: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.readMetadata:(Ljdk/jfr/internal/MetadataDescriptor;)Ljdk/jfr/internal/MetadataDescriptor;
putfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
13: aload 0
new jdk.jfr.internal.consumer.TimeConverter
dup
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
invokevirtual jdk.jfr.internal.MetadataDescriptor.getGMTOffset:()I
invokespecial jdk.jfr.internal.consumer.TimeConverter.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;I)V
putfield jdk.jfr.internal.consumer.ChunkParser.timeConverter:Ljdk/jfr/internal/consumer/TimeConverter;
14: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
if_acmpeq 20
15: new jdk.jfr.internal.consumer.ParserFactory
dup
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.timeConverter:Ljdk/jfr/internal/consumer/TimeConverter;
invokespecial jdk.jfr.internal.consumer.ParserFactory.<init>:(Ljdk/jfr/internal/MetadataDescriptor;Ljdk/jfr/internal/LongMap;Ljdk/jfr/internal/consumer/TimeConverter;)V
astore 4
start local 4 16: aload 0
aload 4
invokevirtual jdk.jfr.internal.consumer.ParserFactory.getParsers:()Ljdk/jfr/internal/LongMap;
putfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
17: aload 0
aload 4
invokevirtual jdk.jfr.internal.consumer.ParserFactory.getTypeMap:()Ljdk/jfr/internal/LongMap;
putfield jdk.jfr.internal.consumer.ChunkParser.typeMap:Ljdk/jfr/internal/LongMap;
18: aload 0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.updateConfiguration:()V
end local 4 19: goto 22
20: StackMap locals:
StackMap stack:
aload 0
aload 2
getfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
putfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
21: aload 0
aload 2
getfield jdk.jfr.internal.consumer.ChunkParser.typeMap:Ljdk/jfr/internal/LongMap;
putfield jdk.jfr.internal.consumer.ChunkParser.typeMap:Ljdk/jfr/internal/LongMap;
22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$0(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
23: aload 0
lconst_0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.fillConstantPools:(J)V
24: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$1(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
25: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$2(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
26: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$3(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
27: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
aload 0
getfield jdk.jfr.internal.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
28: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 29 1 header Ljdk/jfr/internal/consumer/ChunkHeader;
0 29 2 previous Ljdk/jfr/internal/consumer/ChunkParser;
0 29 3 pc Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
16 19 4 factory Ljdk/jfr/internal/consumer/ParserFactory;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
header
previous
pc
public jdk.jfr.internal.consumer.ChunkParser nextChunkParser();
descriptor: ()Ljdk/jfr/internal/consumer/ChunkParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.jfr.internal.consumer.ChunkParser
dup
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.nextHeader:()Ljdk/jfr/internal/consumer/ChunkHeader;
aload 0
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.configuration:Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
invokespecial jdk.jfr.internal.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;Ljdk/jfr/internal/consumer/ChunkParser;Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
Exceptions:
throws java.io.IOException
private void updateConfiguration();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.configuration:Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
iconst_0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.updateConfiguration:(Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ChunkParser;
void updateConfiguration(jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration, boolean);
descriptor: (Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;Z)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield jdk.jfr.internal.consumer.ChunkParser.configuration:Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
1: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
iload 2
aload 1
invokedynamic accept(ZLjdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;)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/internal/consumer/ChunkParser.lambda$4(ZLjdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;Ljdk/jfr/internal/consumer/Parser;)V (6)
(Ljdk/jfr/internal/consumer/Parser;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 3 1 configuration Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
0 3 2 resetEventCache Z
MethodParameters:
Name Flags
configuration
resetEventCache
jdk.jfr.consumer.RecordedEvent readStreamingEvent();
descriptor: ()Ljdk/jfr/consumer/RecordedEvent;
flags: (0x0000)
Code:
stack=6, locals=11, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEnd:()J
lstore 1
start local 1 1: aload 0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.readEvent:()Ljdk/jfr/consumer/RecordedEvent;
astore 3
start local 3 2: aload 3
getstatic jdk.jfr.internal.consumer.ChunkParser.FLUSH_MARKER:Ljdk/jfr/consumer/RecordedEvent;
if_acmpne 4
3: aconst_null
areturn
4: StackMap locals: long jdk.jfr.consumer.RecordedEvent
StackMap stack:
aload 3
ifnull 6
5: aload 3
areturn
6: StackMap locals:
StackMap stack:
lload 1
lstore 4
start local 4 7: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getMetataPosition:()J
lstore 6
start local 6 8: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getConstantPoolPosition:()J
lstore 8
start local 8 9: aload 0
aload 0
lload 1
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.configuration:Ljdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;
getfield jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.filterEnd:J
invokevirtual jdk.jfr.internal.consumer.ChunkParser.awaitUpdatedHeader:(JJ)Z
putfield jdk.jfr.internal.consumer.ChunkParser.chunkFinished:Z
10: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkFinished:Z
ifeq 13
11: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
ldc "At chunk end"
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
12: aconst_null
areturn
13: StackMap locals: long long long
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEnd:()J
lstore 1
14: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getMetataPosition:()J
lload 6
lcmp
ifeq 23
15: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
ldc "Found new metadata in chunk. Rebuilding types and parsers"
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
16: aload 0
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
putfield jdk.jfr.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
17: aload 0
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.readMetadata:(Ljdk/jfr/internal/MetadataDescriptor;)Ljdk/jfr/internal/MetadataDescriptor;
putfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
18: new jdk.jfr.internal.consumer.ParserFactory
dup
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.timeConverter:Ljdk/jfr/internal/consumer/TimeConverter;
invokespecial jdk.jfr.internal.consumer.ParserFactory.<init>:(Ljdk/jfr/internal/MetadataDescriptor;Ljdk/jfr/internal/LongMap;Ljdk/jfr/internal/consumer/TimeConverter;)V
astore 10
start local 10 19: aload 0
aload 10
invokevirtual jdk.jfr.internal.consumer.ParserFactory.getParsers:()Ljdk/jfr/internal/LongMap;
putfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
20: aload 0
aload 10
invokevirtual jdk.jfr.internal.consumer.ParserFactory.getTypeMap:()Ljdk/jfr/internal/LongMap;
putfield jdk.jfr.internal.consumer.ChunkParser.typeMap:Ljdk/jfr/internal/LongMap;
21: aload 0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.updateConfiguration:()V
22: aload 0
iconst_1
invokevirtual jdk.jfr.internal.consumer.ChunkParser.setStaleMetadata:(Z)V
end local 10 23: StackMap locals:
StackMap stack:
lload 8
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getConstantPoolPosition:()J
lcmp
ifeq 30
24: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
ldc "Found new constant pool data. Filling up pools with new values"
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
25: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$5(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
26: aload 0
lload 8
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getAbsoluteChunkStart:()J
ladd
invokevirtual jdk.jfr.internal.consumer.ChunkParser.fillConstantPools:(J)V
27: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$6(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
28: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$7(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
29: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
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/internal/consumer/ChunkParser.lambda$8(Ljdk/jfr/internal/consumer/ConstantLookup;)V (6)
(Ljdk/jfr/internal/consumer/ConstantLookup;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
30: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
lload 4
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
31: aconst_null
areturn
end local 8 end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljdk/jfr/internal/consumer/ChunkParser;
1 32 1 absoluteChunkEnd J
2 32 3 event Ljdk/jfr/consumer/RecordedEvent;
7 32 4 lastValid J
8 32 6 metadataPosition J
9 32 8 constantPosition J
19 23 10 factory Ljdk/jfr/internal/consumer/ParserFactory;
Exceptions:
throws java.io.IOException
public jdk.jfr.consumer.RecordedEvent readEvent();
descriptor: ()Ljdk/jfr/consumer/RecordedEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEnd:()J
lstore 1
start local 1 1: goto 21
2: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
lstore 3
start local 3 3: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 5
start local 5 4: iload 5
ifne 6
5: new java.io.IOException
dup
ldc "Event can't have zero size"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: long int
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 6
start local 6 7: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
lload 6
invokevirtual jdk.jfr.internal.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.internal.consumer.Parser
astore 8
start local 8 8: aload 8
instanceof jdk.jfr.internal.consumer.EventParser
ifeq 14
9: aload 8
checkcast jdk.jfr.internal.consumer.EventParser
astore 9
start local 9 10: aload 9
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.EventParser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljdk/jfr/consumer/RecordedEvent;
astore 10
start local 10 11: aload 10
ifnull 20
12: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
lload 3
iload 5
i2l
ladd
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
13: aload 10
areturn
end local 10 end local 9 14: StackMap locals: long jdk.jfr.internal.consumer.Parser
StackMap stack:
lload 6
lconst_1
lcmp
ifne 18
15: getstatic jdk.jfr.internal.consumer.ChunkParser$CheckPointType.FLUSH:Ljdk/jfr/internal/consumer/ChunkParser$CheckPointType;
aload 0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.parseCheckpointType:()B
invokevirtual jdk.jfr.internal.consumer.ChunkParser$CheckPointType.is:(I)Z
ifeq 20
16: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
lload 3
iload 5
i2l
ladd
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
17: getstatic jdk.jfr.internal.consumer.ChunkParser.FLUSH_MARKER:Ljdk/jfr/consumer/RecordedEvent;
areturn
18: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifeq 20
19: 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 "Unknown event type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 6
invokevirtual java.lang.StringBuilder.append:(J)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
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
lload 3
iload 5
i2l
ladd
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
end local 8 end local 6 end local 5 end local 3 21: StackMap locals: jdk.jfr.internal.consumer.ChunkParser long
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
lload 1
lcmp
iflt 2
22: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/jfr/internal/consumer/ChunkParser;
1 23 1 absoluteChunkEnd J
3 21 3 pos J
4 21 5 size I
7 21 6 typeId J
8 21 8 p Ljdk/jfr/internal/consumer/Parser;
10 14 9 ep Ljdk/jfr/internal/consumer/EventParser;
11 14 10 event Ljdk/jfr/consumer/RecordedEvent;
Exceptions:
throws java.io.IOException
private byte parseCheckpointType();
descriptor: ()B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
pop2
1: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
pop2
2: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
pop2
3: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/consumer/ChunkParser;
Exceptions:
throws java.io.IOException
private boolean (long, long);
descriptor: (JJ)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
ifeq 2
1: 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 "Waiting for more data (streaming). Read so far: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getChunkSize:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes"
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
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.closed:Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getLastNanos:()J
lload 3
lcmp
ifle 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.refresh:()V
7: lload 1
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEnd:()J
lcmp
ifeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.isFinished:()Z
ifeq 11
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
ldc 1000
invokestatic jdk.jfr.internal.Utils.waitFlush:(J)V
12: goto 2
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 13 1 absoluteChunkEnd J
0 13 3 filterEnd J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
absoluteChunkEnd
filterEnd
private void fillConstantPools(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=31, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getConstantPoolPosition:()J
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getAbsoluteChunkStart:()J
ladd
lstore 3
start local 3 1: ldc -1
lstore 5
start local 5 2: ldc -1
lstore 7
start local 7 3: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
istore 9
start local 9 4: goto 70
5: StackMap locals: jdk.jfr.internal.consumer.ChunkParser long long long long int
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
lload 3
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
6: lload 3
lstore 5
7: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 10
start local 10 8: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 11
start local 11 9: lload 11
lconst_1
lcmp
ifeq 11
10: 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 5
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 11
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
11: StackMap locals: int long
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
pop2
12: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
pop2
13: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 7
14: lload 3
lload 7
ladd
lstore 3
15: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readBoolean:()Z
istore 13
start local 13 16: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 14
start local 14 17: lload 5
lstore 15
start local 15 18: lload 7
lstore 17
start local 17 19: iload 9
ifeq 26
20: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
21: new java.lang.StringBuilder
dup
ldc "New constant pool: startPosition="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 15
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
22: ldc ", size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 10
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", deltaToNext="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 17
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
23: ldc ", flush="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 13
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc ", poolCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 14
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
24: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
26: StackMap locals: jdk.jfr.internal.consumer.ChunkParser long long long long int int long int int long long
StackMap stack:
iconst_0
istore 19
start local 19 27: goto 67
28: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 20
start local 20 29: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
lload 20
invokevirtual jdk.jfr.internal.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.internal.consumer.ConstantLookup
astore 22
start local 22 30: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.typeMap:Ljdk/jfr/internal/LongMap;
lload 20
invokevirtual jdk.jfr.internal.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 23
start local 23 31: aload 22
ifnonnull 39
32: aload 23
ifnonnull 36
33: new java.io.IOException
dup
34: new java.lang.StringBuilder
dup
ldc "Error parsing constant pool type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
lload 20
invokevirtual jdk.jfr.internal.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.internal.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 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 5
iload 10
i2l
ladd
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;
35: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals: long jdk.jfr.internal.consumer.ConstantLookup jdk.jfr.internal.Type
StackMap stack:
new jdk.jfr.internal.consumer.ConstantMap
dup
aload 23
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.timeConverter:Ljdk/jfr/internal/consumer/TimeConverter;
invokestatic jdk.jfr.internal.consumer.ObjectFactory.create:(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/consumer/TimeConverter;)Ljdk/jfr/internal/consumer/ObjectFactory;
aload 23
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
invokespecial jdk.jfr.internal.consumer.ConstantMap.<init>:(Ljdk/jfr/internal/consumer/ObjectFactory;Ljava/lang/String;)V
astore 24
start local 24 37: new jdk.jfr.internal.consumer.ConstantLookup
dup
aload 24
aload 23
invokespecial jdk.jfr.internal.consumer.ConstantLookup.<init>:(Ljdk/jfr/internal/consumer/ConstantMap;Ljdk/jfr/internal/Type;)V
astore 22
38: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.constantLookups:Ljdk/jfr/internal/LongMap;
aload 23
invokevirtual jdk.jfr.internal.Type.getId:()J
aload 22
invokevirtual jdk.jfr.internal.LongMap.put:(JLjava/lang/Object;)V
end local 24 39: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
lload 20
invokevirtual jdk.jfr.internal.LongMap.get:(J)Ljava/lang/Object;
checkcast jdk.jfr.internal.consumer.Parser
astore 24
start local 24 40: aload 24
ifnonnull 42
41: 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 20
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
42: StackMap locals: jdk.jfr.internal.consumer.Parser
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 25
start local 25 43: iload 25
ifne 45
44: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Pool "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 23
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " must contain at least one element "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
45: StackMap locals: int
StackMap stack:
iload 9
ifeq 47
46: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Constant Pool "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 19
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 23
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
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
47: StackMap locals:
StackMap stack:
iconst_0
istore 26
start local 26 48: goto 60
49: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 27
start local 27 50: aload 22
lload 27
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getPreviousResolved:(J)Ljava/lang/Object;
astore 29
start local 29 51: aload 29
ifnonnull 56
52: aload 24
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.Parser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
astore 30
start local 30 53: aload 0
lload 27
aload 30
iconst_0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.logConstant:(JLjava/lang/Object;Z)V
54: aload 22
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
lload 27
aload 30
invokevirtual jdk.jfr.internal.consumer.ConstantMap.put:(JLjava/lang/Object;)V
end local 30 55: goto 59
56: StackMap locals: long java.lang.Object
StackMap stack:
aload 24
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.Parser.skip:(Ljdk/jfr/internal/consumer/RecordingInput;)V
57: aload 0
lload 27
aload 29
iconst_1
invokevirtual jdk.jfr.internal.consumer.ChunkParser.logConstant:(JLjava/lang/Object;Z)V
58: aload 22
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
lload 27
aload 29
invokevirtual jdk.jfr.internal.consumer.ConstantMap.putResolved:(JLjava/lang/Object;)V
end local 29 end local 27 59: StackMap locals:
StackMap stack:
iinc 26 1
StackMap locals:
StackMap stack:
60: iload 26
iload 25
if_icmplt 49
end local 26 end local 25 61: goto 66
StackMap locals: jdk.jfr.internal.consumer.ChunkParser long long long long int int long int int long long int long jdk.jfr.internal.consumer.ConstantLookup jdk.jfr.internal.Type jdk.jfr.internal.consumer.Parser
StackMap stack: java.lang.Exception
62: astore 25
start local 25 63: 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 20
invokevirtual jdk.jfr.internal.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.internal.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 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 5
iload 10
i2l
ladd
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;
64: aload 25
65: invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 25 end local 24 end local 23 end local 22 end local 20 66: StackMap locals: jdk.jfr.internal.consumer.ChunkParser long long long long int int long int int long long int
StackMap stack:
iinc 19 1
StackMap locals:
StackMap stack:
67: iload 19
iload 14
if_icmplt 28
end local 19 68: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
lload 5
iload 10
i2l
ladd
lcmp
ifeq 70
69: 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 17 end local 15 end local 14 end local 13 end local 11 end local 10 70: StackMap locals: jdk.jfr.internal.consumer.ChunkParser long long long long int
StackMap stack:
lload 3
lload 1
lcmp
ifeq 71
lload 7
lconst_0
lcmp
ifne 5
71: StackMap locals:
StackMap stack:
return
end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 72 1 abortCP J
1 72 3 thisCP J
2 72 5 lastCP J
3 72 7 delta J
4 72 9 logTrace Z
8 70 10 size I
9 70 11 typeId J
16 70 13 flush Z
17 70 14 poolCount I
18 70 15 logLastCP J
19 70 17 logDelta J
27 68 19 i I
29 66 20 id J
30 66 22 lookup Ljdk/jfr/internal/consumer/ConstantLookup;
31 66 23 type Ljdk/jfr/internal/Type;
37 39 24 pool Ljdk/jfr/internal/consumer/ConstantMap;
40 66 24 parser Ljdk/jfr/internal/consumer/Parser;
43 61 25 count I
48 61 26 j I
50 59 27 key J
51 59 29 resolved Ljava/lang/Object;
53 55 30 v Ljava/lang/Object;
63 66 25 e Ljava/lang/Exception;
Exception table:
from to target type
42 61 62 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
abortCP
private void logConstant(long, java.lang.Object, boolean);
descriptor: (JLjava/lang/Object;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 3 start local 4 0: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 12
3: aload 3
checkcast java.lang.Object[]
astore 6
start local 6 4: new java.util.StringJoiner
dup
ldc ", "
ldc "{"
ldc "}"
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
astore 7
start local 7 5: iconst_0
istore 8
start local 8 6: goto 9
7: StackMap locals: jdk.jfr.internal.consumer.ChunkParser long java.lang.Object int top java.lang.Object[] java.util.StringJoiner int
StackMap stack:
aload 7
aload 0
aload 6
iload 8
aaload
invokevirtual jdk.jfr.internal.consumer.ChunkParser.textify:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
8: iinc 8 1
StackMap locals:
StackMap stack:
9: iload 8
aload 6
arraylength
if_icmplt 7
end local 8 10: aload 7
invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
astore 5
end local 7 end local 6 start local 5 11: goto 13
end local 5 12: StackMap locals: jdk.jfr.internal.consumer.ChunkParser long java.lang.Object int
StackMap stack:
aload 0
aload 3
invokevirtual jdk.jfr.internal.consumer.ChunkParser.textify:(Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 13: StackMap locals: java.lang.String
StackMap stack:
iload 4
ifeq 14
ldc " (presolved)"
goto 15
StackMap locals:
StackMap stack:
14: ldc ""
StackMap locals:
StackMap stack: java.lang.String
15: astore 6
start local 6 16: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Constant: "
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;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
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
17: return
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 18 1 key J
0 18 3 v Ljava/lang/Object;
0 18 4 preresolved Z
11 12 5 valueText Ljava/lang/String;
13 18 5 valueText Ljava/lang/String;
4 11 6 array [Ljava/lang/Object;
5 11 7 sj Ljava/util/StringJoiner;
6 10 8 i I
16 18 6 suffix Ljava/lang/String;
MethodParameters:
Name Flags
key
v
preresolved
private java.lang.String textify(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifeq 4
3: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.jfr.consumer.RecordedObject
ifeq 6
5: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 10
7: aload 1
checkcast java.lang.Object[]
astore 2
start local 2 8: aload 2
arraylength
ifle 10
9: new java.lang.StringBuilder
dup
aload 0
aload 2
iconst_0
aaload
invokevirtual jdk.jfr.internal.consumer.ChunkParser.textify:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 11 1 o Ljava/lang/Object;
8 10 2 array [Ljava/lang/Object;
MethodParameters:
Name Flags
o
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.internal.consumer.ChunkParser.typeMap:Ljdk/jfr/internal/LongMap;
lload 1
invokevirtual jdk.jfr.internal.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/internal/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.internal.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/internal/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.internal.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/internal/consumer/ChunkParser;
Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;
public java.util.List<jdk.jfr.EventType> getPreviousEventTypes();
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.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.previousMetadata:Ljdk/jfr/internal/MetadataDescriptor;
invokevirtual jdk.jfr.internal.MetadataDescriptor.getEventTypes:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/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.internal.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/internal/consumer/ChunkParser;
Exceptions:
throws java.io.IOException
jdk.jfr.internal.consumer.ChunkParser newChunkParser();
descriptor: ()Ljdk/jfr/internal/consumer/ChunkParser;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.jfr.internal.consumer.ChunkParser
dup
aload 0
invokespecial jdk.jfr.internal.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkParser;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
Exceptions:
throws java.io.IOException
public boolean isChunkFinished();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkFinished:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
public long getChunkDuration();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getDurationNanos:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
public long getStartNanos();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getStartNanos:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
public boolean isFinalChunk();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.isFinalChunk:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.jfr.internal.consumer.ChunkParser.closed:Z
1: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
2: goto 4
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.Utils.notifyFlush:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/consumer/ChunkParser;
Exception table:
from to target type
1 2 3 Class java.io.IOException
public long getEndNanos();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.getStartNanos:()J
aload 0
invokevirtual jdk.jfr.internal.consumer.ChunkParser.getChunkDuration:()J
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
public void setStaleMetadata(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.consumer.ChunkParser.staleMetadata:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ChunkParser;
0 2 1 stale Z
MethodParameters:
Name Flags
stale
public boolean hasStaleMetadata();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.staleMetadata:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ChunkParser;
public void resetCache();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ChunkParser.parsers:Ljdk/jfr/internal/LongMap;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
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/internal/consumer/ChunkParser.lambda$9(Ljdk/jfr/internal/consumer/Parser;)V (6)
(Ljdk/jfr/internal/consumer/Parser;)V
invokevirtual jdk.jfr.internal.LongMap.forEach:(Ljava/util/function/Consumer;)V
3: StackMap locals: jdk.jfr.internal.LongMap
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/consumer/ChunkParser;
1 4 1 ps Ljdk/jfr/internal/LongMap<Ljdk/jfr/internal/consumer/Parser;>;
private static void lambda$0(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.newPool:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$1(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
invokevirtual jdk.jfr.internal.consumer.ConstantMap.setResolving:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$2(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
invokevirtual jdk.jfr.internal.consumer.ConstantMap.resolve:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$3(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
invokevirtual jdk.jfr.internal.consumer.ConstantMap.setResolved:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$4(boolean, jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration, jdk.jfr.internal.consumer.Parser);
descriptor: (ZLjdk/jfr/internal/consumer/ChunkParser$ParserConfiguration;Ljdk/jfr/internal/consumer/Parser;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=7, args_size=3
start local 2 0: aload 2
instanceof jdk.jfr.internal.consumer.EventParser
ifeq 16
1: aload 2
checkcast jdk.jfr.internal.consumer.EventParser
astore 3
start local 3 2: iload 0
ifeq 4
3: aload 3
invokevirtual jdk.jfr.internal.consumer.EventParser.resetCache:()V
4: StackMap locals: jdk.jfr.internal.consumer.EventParser
StackMap stack:
aload 3
invokevirtual jdk.jfr.internal.consumer.EventParser.getEventType:()Ljdk/jfr/EventType;
invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
astore 4
start local 4 5: aload 3
aload 1
getfield jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.ordered:Z
invokevirtual jdk.jfr.internal.consumer.EventParser.setOrdered:(Z)V
6: aload 3
aload 1
getfield jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.reuse:Z
invokevirtual jdk.jfr.internal.consumer.EventParser.setReuse:(Z)V
7: aload 3
aload 1
getfield jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.filterStart:J
invokevirtual jdk.jfr.internal.consumer.EventParser.setFilterStart:(J)V
8: aload 3
aload 1
getfield jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.filterEnd:J
invokevirtual jdk.jfr.internal.consumer.EventParser.setFilterEnd:(J)V
9: aload 1
getfield jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration.eventFilter:Ljdk/jfr/internal/consumer/ParserFilter;
aload 4
invokevirtual jdk.jfr.internal.consumer.ParserFilter.getThreshold:(Ljava/lang/String;)J
lstore 5
start local 5 10: lload 5
lconst_0
lcmp
iflt 14
11: aload 3
iconst_1
invokevirtual jdk.jfr.internal.consumer.EventParser.setEnabled:(Z)V
12: aload 3
lload 5
invokevirtual jdk.jfr.internal.consumer.EventParser.setThresholdNanos:(J)V
13: goto 16
14: StackMap locals: java.lang.String long
StackMap stack:
aload 3
iconst_0
invokevirtual jdk.jfr.internal.consumer.EventParser.setEnabled:(Z)V
15: aload 3
ldc 9223372036854775807
invokevirtual jdk.jfr.internal.consumer.EventParser.setThresholdNanos:(J)V
end local 5 end local 4 end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 17 2 p Ljdk/jfr/internal/consumer/Parser;
2 16 3 ep Ljdk/jfr/internal/consumer/EventParser;
5 16 4 name Ljava/lang/String;
10 16 5 threshold J
private static void lambda$5(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
iconst_0
invokevirtual jdk.jfr.internal.consumer.ConstantMap.setAllResolved:(Z)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$6(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
invokevirtual jdk.jfr.internal.consumer.ConstantMap.setResolving:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$7(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
invokevirtual jdk.jfr.internal.consumer.ConstantMap.resolve:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$8(jdk.jfr.internal.consumer.ConstantLookup);
descriptor: (Ljdk/jfr/internal/consumer/ConstantLookup;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ConstantLookup.getLatestPool:()Ljdk/jfr/internal/consumer/ConstantMap;
invokevirtual jdk.jfr.internal.consumer.ConstantMap.setResolved:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljdk/jfr/internal/consumer/ConstantLookup;
private static void lambda$9(jdk.jfr.internal.consumer.Parser);
descriptor: (Ljdk/jfr/internal/consumer/Parser;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
instanceof jdk.jfr.internal.consumer.EventParser
ifeq 3
1: aload 0
checkcast jdk.jfr.internal.consumer.EventParser
astore 1
start local 1 2: aload 1
invokevirtual jdk.jfr.internal.consumer.EventParser.resetCache:()V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 p Ljdk/jfr/internal/consumer/Parser;
2 3 1 ep Ljdk/jfr/internal/consumer/EventParser;
}
SourceFile: "ChunkParser.java"
NestMembers:
jdk.jfr.internal.consumer.ChunkParser$CheckPointType jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final CheckPointType = jdk.jfr.internal.consumer.ChunkParser$CheckPointType of jdk.jfr.internal.consumer.ChunkParser
final ParserConfiguration = jdk.jfr.internal.consumer.ChunkParser$ParserConfiguration of jdk.jfr.internal.consumer.ChunkParser