final class jdk.jfr.internal.MetadataReader
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.MetadataReader
super_class: java.lang.Object
{
private final java.io.DataInput input;
descriptor: Ljava/io/DataInput;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.String> pool;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final jdk.jfr.internal.MetadataDescriptor descriptor;
descriptor: Ljdk/jfr/internal/MetadataDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.Long, jdk.jfr.internal.Type> types;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Long;Ljdk/jfr/internal/Type;>;
public void <init>(jdk.jfr.internal.consumer.RecordingInput);
descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.jfr.internal.MetadataReader.types:Ljava/util/Map;
2: aload 0
aload 1
putfield jdk.jfr.internal.MetadataReader.input:Ljava/io/DataInput;
3: aload 1
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 2
start local 2 4: aload 0
new java.util.ArrayList
dup
iload 2
invokespecial java.util.ArrayList.<init>:(I)V
putfield jdk.jfr.internal.MetadataReader.pool:Ljava/util/List;
5: new jdk.jfr.internal.consumer.StringParser
dup
aconst_null
iconst_0
invokespecial jdk.jfr.internal.consumer.StringParser.<init>:(Ljdk/jfr/internal/consumer/ConstantLookup;Z)V
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.consumer.RecordingInput int jdk.jfr.internal.consumer.StringParser int
StackMap stack:
aload 0
getfield jdk.jfr.internal.MetadataReader.pool:Ljava/util/List;
aload 3
aload 1
invokevirtual jdk.jfr.internal.consumer.StringParser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 8
end local 4 11: aload 0
new jdk.jfr.internal.MetadataDescriptor
dup
invokespecial jdk.jfr.internal.MetadataDescriptor.<init>:()V
putfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
12: aload 0
invokevirtual jdk.jfr.internal.MetadataReader.createElement:()Ljdk/jfr/internal/MetadataDescriptor$Element;
astore 4
start local 4 13: aload 4
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "metadata"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 5
start local 5 14: aload 0
aload 5
invokevirtual jdk.jfr.internal.MetadataReader.declareTypes:(Ljdk/jfr/internal/MetadataDescriptor$Element;)V
15: aload 0
aload 5
invokevirtual jdk.jfr.internal.MetadataReader.defineTypes:(Ljdk/jfr/internal/MetadataDescriptor$Element;)V
16: aload 0
aload 5
invokevirtual jdk.jfr.internal.MetadataReader.annotateTypes:(Ljdk/jfr/internal/MetadataDescriptor$Element;)V
17: aload 0
invokevirtual jdk.jfr.internal.MetadataReader.buildEvenTypes:()V
18: aload 4
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "region"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 6
start local 6 19: aload 0
getfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
aload 6
ldc "gmtOffset"
lconst_1
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;J)J
putfield jdk.jfr.internal.MetadataDescriptor.gmtOffset:J
20: aload 0
getfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
aload 6
ldc "locale"
ldc ""
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataDescriptor.locale:Ljava/lang/String;
21: aload 0
getfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
aload 4
putfield jdk.jfr.internal.MetadataDescriptor.root:Ljdk/jfr/internal/MetadataDescriptor$Element;
22: 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
ifeq 29
23: new java.util.ArrayList
dup
aload 0
getfield jdk.jfr.internal.MetadataReader.types:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 7
start local 7 24: aload 7
invokedynamic compare()Ljava/util/Comparator;
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;Ljava/lang/Object;)I
jdk/jfr/internal/MetadataReader.lambda$0(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/Type;)I (6)
(Ljdk/jfr/internal/Type;Ljdk/jfr/internal/Type;)I
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
25: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 28
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.consumer.RecordingInput int jdk.jfr.internal.consumer.StringParser jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.List top java.util.Iterator
StackMap stack:
26: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 8
start local 8 27: aload 8
ldc "Found"
getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
invokevirtual jdk.jfr.internal.Type.log:(Ljava/lang/String;Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)V
end local 8 28: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
end local 7 29: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.consumer.RecordingInput int jdk.jfr.internal.consumer.StringParser jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljdk/jfr/internal/MetadataReader;
0 30 1 input Ljdk/jfr/internal/consumer/RecordingInput;
4 30 2 size I
6 30 3 p Ljdk/jfr/internal/consumer/StringParser;
7 11 4 i I
13 30 4 root Ljdk/jfr/internal/MetadataDescriptor$Element;
14 30 5 metadata Ljdk/jfr/internal/MetadataDescriptor$Element;
19 30 6 time Ljdk/jfr/internal/MetadataDescriptor$Element;
24 29 7 ts Ljava/util/List<Ljdk/jfr/internal/Type;>;
27 28 8 t Ljdk/jfr/internal/Type;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
private java.lang.String readString();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.MetadataReader.pool:Ljava/util/List;
aload 0
invokevirtual jdk.jfr.internal.MetadataReader.readInt:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/MetadataReader;
Exceptions:
throws java.io.IOException
private int readInt();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.MetadataReader.input:Ljava/io/DataInput;
invokeinterface java.io.DataInput.readInt:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/MetadataReader;
Exceptions:
throws java.io.IOException
private jdk.jfr.internal.MetadataDescriptor$Element createElement();
descriptor: ()Ljdk/jfr/internal/MetadataDescriptor$Element;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.MetadataReader.readString:()Ljava/lang/String;
astore 1
start local 1 1: new jdk.jfr.internal.MetadataDescriptor$Element
dup
aload 1
invokespecial jdk.jfr.internal.MetadataDescriptor$Element.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
invokevirtual jdk.jfr.internal.MetadataReader.readInt:()I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: jdk.jfr.internal.MetadataReader java.lang.String jdk.jfr.internal.MetadataDescriptor$Element int int
StackMap stack:
aload 2
aload 0
invokevirtual jdk.jfr.internal.MetadataReader.readString:()Ljava/lang/String;
aload 0
invokevirtual jdk.jfr.internal.MetadataReader.readString:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.addAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmplt 5
end local 4 8: aload 0
invokevirtual jdk.jfr.internal.MetadataReader.readInt:()I
istore 4
start local 4 9: iconst_0
istore 5
start local 5 10: goto 13
11: StackMap locals: int
StackMap stack:
aload 2
aload 0
invokevirtual jdk.jfr.internal.MetadataReader.createElement:()Ljdk/jfr/internal/MetadataDescriptor$Element;
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.add:(Ljdk/jfr/internal/MetadataDescriptor$Element;)V
12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 4
if_icmplt 11
end local 5 14: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/jfr/internal/MetadataReader;
1 15 1 name Ljava/lang/String;
2 15 2 e Ljdk/jfr/internal/MetadataDescriptor$Element;
3 15 3 attributeCount I
4 8 4 i I
9 15 4 childrenCount I
10 14 5 i I
Exceptions:
throws java.io.IOException
private void annotateTypes(jdk.jfr.internal.MetadataDescriptor$Element);
descriptor: (Ljdk/jfr/internal/MetadataDescriptor$Element;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "class"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 37
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 2
start local 2 2: aload 0
ldc "id"
aload 2
invokevirtual jdk.jfr.internal.MetadataReader.getType:(Ljava/lang/String;Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/internal/Type;
astore 4
start local 4 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 4: aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "annotation"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 6
start local 6 6: aload 5
aload 0
aload 6
invokevirtual jdk.jfr.internal.MetadataReader.makeAnnotation:(Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/AnnotationElement;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 6 7: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 5
invokevirtual java.util.ArrayList.trimToSize:()V
9: aload 4
aload 5
invokevirtual jdk.jfr.internal.Type.setAnnotations:(Ljava/util/List;)V
10: iconst_0
istore 6
start local 6 11: aload 4
instanceof jdk.jfr.internal.PlatformEventType
ifeq 24
12: aload 4
checkcast jdk.jfr.internal.PlatformEventType
invokevirtual jdk.jfr.internal.PlatformEventType.getAllSettings:()Ljava/util/List;
astore 7
start local 7 13: aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "setting"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 23
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList int java.util.List top java.util.Iterator
StackMap stack:
14: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 8
start local 8 15: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 10
start local 10 16: aload 8
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "annotation"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 19
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList int java.util.List jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator java.util.ArrayList top java.util.Iterator
StackMap stack:
17: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 11
start local 11 18: aload 10
aload 0
aload 11
invokevirtual jdk.jfr.internal.MetadataReader.makeAnnotation:(Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/AnnotationElement;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 11 19: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
20: aload 10
invokevirtual java.util.ArrayList.trimToSize:()V
21: invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 7
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jfr.SettingDescriptor
aload 10
invokevirtual jdk.jfr.internal.PrivateAccess.setAnnotations:(Ljdk/jfr/SettingDescriptor;Ljava/util/List;)V
22: iinc 6 1
end local 10 end local 8 23: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList int java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 7 24: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList int
StackMap stack:
iconst_0
istore 6
25: aload 4
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
astore 7
start local 7 26: aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "field"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 36
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList int java.util.List top java.util.Iterator
StackMap stack:
27: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 8
start local 8 28: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 10
start local 10 29: aload 8
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "annotation"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 32
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList int java.util.List jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator java.util.ArrayList top java.util.Iterator
StackMap stack:
30: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 11
start local 11 31: aload 10
aload 0
aload 11
invokevirtual jdk.jfr.internal.MetadataReader.makeAnnotation:(Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/AnnotationElement;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 11 32: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
33: aload 10
invokevirtual java.util.ArrayList.trimToSize:()V
34: invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 7
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
aload 10
invokevirtual jdk.jfr.internal.PrivateAccess.setAnnotations:(Ljdk/jfr/ValueDescriptor;Ljava/util/List;)V
35: iinc 6 1
end local 10 end local 8 36: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator jdk.jfr.internal.Type java.util.ArrayList int java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
end local 7 end local 6 end local 5 end local 4 end local 2 37: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
38: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Ljdk/jfr/internal/MetadataReader;
0 39 1 metadata Ljdk/jfr/internal/MetadataDescriptor$Element;
2 37 2 typeElement Ljdk/jfr/internal/MetadataDescriptor$Element;
3 37 4 type Ljdk/jfr/internal/Type;
4 37 5 aes Ljava/util/ArrayList<Ljdk/jfr/AnnotationElement;>;
6 7 6 annotationElement Ljdk/jfr/internal/MetadataDescriptor$Element;
11 37 6 index I
13 24 7 settings Ljava/util/List<Ljdk/jfr/SettingDescriptor;>;
15 23 8 settingElement Ljdk/jfr/internal/MetadataDescriptor$Element;
16 23 10 annotations Ljava/util/ArrayList<Ljdk/jfr/AnnotationElement;>;
18 19 11 annotationElement Ljdk/jfr/internal/MetadataDescriptor$Element;
26 37 7 fields Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
28 36 8 fieldElement Ljdk/jfr/internal/MetadataDescriptor$Element;
29 36 10 annotations Ljava/util/ArrayList<Ljdk/jfr/AnnotationElement;>;
31 32 11 annotationElement Ljdk/jfr/internal/MetadataDescriptor$Element;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
metadata
private jdk.jfr.AnnotationElement makeAnnotation(jdk.jfr.internal.MetadataDescriptor$Element);
descriptor: (Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/AnnotationElement;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
ldc "class"
aload 1
invokevirtual jdk.jfr.internal.MetadataReader.getType:(Ljava/lang/String;Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/internal/Type;
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aload 2
invokevirtual jdk.jfr.internal.Type.getFields:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 20
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.Type java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.ValueDescriptor
astore 4
start local 4 4: aload 4
invokevirtual jdk.jfr.ValueDescriptor.isArray:()Z
ifeq 18
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 6: iconst_0
istore 7
start local 7 7: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.Type java.util.List jdk.jfr.ValueDescriptor java.util.Iterator java.util.List int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 4
invokevirtual jdk.jfr.ValueDescriptor.getName:()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;
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 8: aload 8
ifnonnull 10
9: goto 13
10: StackMap locals: java.lang.String
StackMap stack:
aload 6
aload 0
aload 4
invokevirtual jdk.jfr.ValueDescriptor.getTypeName:()Ljava/lang/String;
aload 8
invokevirtual jdk.jfr.internal.MetadataReader.objectify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: iinc 7 1
end local 8 12: goto 7
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual jdk.jfr.ValueDescriptor.getTypeName:()Ljava/lang/String;
aload 6
invokestatic jdk.jfr.internal.Utils.makePrimitiveArray:(Ljava/lang/String;Ljava/util/List;)Ljava/lang/Object;
astore 8
start local 8 14: aload 8
ifnonnull 16
15: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " in array"
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
16: StackMap locals: java.lang.Object
StackMap stack:
aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 17: goto 20
18: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 19: aload 3
aload 0
aload 4
invokevirtual jdk.jfr.ValueDescriptor.getTypeName:()Ljava/lang/String;
aload 6
invokevirtual jdk.jfr.internal.MetadataReader.objectify:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 20: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.Type java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
21: invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 2
aload 3
iconst_0
invokevirtual jdk.jfr.internal.PrivateAccess.newAnnotation:(Ljdk/jfr/internal/Type;Ljava/util/List;Z)Ljdk/jfr/AnnotationElement;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/jfr/internal/MetadataReader;
0 22 1 annotationElement Ljdk/jfr/internal/MetadataDescriptor$Element;
1 22 2 annotationType Ljdk/jfr/internal/Type;
2 22 3 values Ljava/util/List<Ljava/lang/Object;>;
4 20 4 v Ljdk/jfr/ValueDescriptor;
6 17 6 list Ljava/util/List<Ljava/lang/Object;>;
7 17 7 index I
8 12 8 text Ljava/lang/String;
14 17 8 object Ljava/lang/Object;
19 20 6 text Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
annotationElement
private java.lang.Object objectify(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 9
-1325958191: 1
104431: 2
3039496: 3
3052374: 4
3327612: 5
64711720: 6
97526364: 7
109413500: 8
1195259493: 9
default: 30
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 3
ldc "double"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 33
StackMap locals:
StackMap stack:
2: aload 3
ldc "int"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 33
StackMap locals:
StackMap stack:
3: aload 3
ldc "byte"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
goto 33
StackMap locals:
StackMap stack:
4: aload 3
ldc "char"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
goto 33
StackMap locals:
StackMap stack:
5: aload 3
ldc "long"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
goto 33
StackMap locals:
StackMap stack:
6: aload 3
ldc "boolean"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
goto 33
StackMap locals:
StackMap stack:
7: aload 3
ldc "float"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 33
StackMap locals:
StackMap stack:
8: aload 3
ldc "short"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 33
StackMap locals:
StackMap stack:
9: aload 3
ldc "java.lang.String"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 28
goto 33
10: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
11: areturn
12: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Long.valueOf:(Ljava/lang/String;)Ljava/lang/Long;
13: areturn
14: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Double.valueOf:(Ljava/lang/String;)Ljava/lang/Double;
15: areturn
16: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Float.valueOf:(Ljava/lang/String;)Ljava/lang/Float;
17: areturn
18: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Short.valueOf:(Ljava/lang/String;)Ljava/lang/Short;
19: areturn
20: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpeq 22
21: new java.io.IOException
dup
ldc "Unexpected size of char"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
23: areturn
24: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Byte.valueOf:(Ljava/lang/String;)Ljava/lang/Byte;
25: areturn
26: StackMap locals:
StackMap stack:
aload 2
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
27: areturn
28: StackMap locals:
StackMap stack:
aload 2
29: areturn
30: StackMap locals:
StackMap stack:
goto 33
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
31: pop
32: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Could not parse text representation of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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
33: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported type for annotation "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/jfr/internal/MetadataReader;
0 34 1 typeName Ljava/lang/String;
0 34 2 text Ljava/lang/String;
Exception table:
from to target type
0 11 31 Class java.lang.IllegalArgumentException
12 13 31 Class java.lang.IllegalArgumentException
14 15 31 Class java.lang.IllegalArgumentException
16 17 31 Class java.lang.IllegalArgumentException
18 19 31 Class java.lang.IllegalArgumentException
20 23 31 Class java.lang.IllegalArgumentException
24 25 31 Class java.lang.IllegalArgumentException
26 27 31 Class java.lang.IllegalArgumentException
28 29 31 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
typeName
text
private jdk.jfr.internal.Type getType(java.lang.String, jdk.jfr.internal.MetadataDescriptor$Element);
descriptor: (Ljava/lang/String;Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/internal/Type;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.longValue:(Ljava/lang/String;)J
lstore 3
start local 3 1: aload 0
getfield jdk.jfr.internal.MetadataReader.types:Ljava/util/Map;
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 5
start local 5 2: aload 5
ifnonnull 5
3: aload 2
ldc "type"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 4: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Type '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "' is not defined for "
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;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 6 5: StackMap locals: long jdk.jfr.internal.Type
StackMap stack:
aload 5
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/MetadataReader;
0 6 1 attribute Ljava/lang/String;
0 6 2 element Ljdk/jfr/internal/MetadataDescriptor$Element;
1 6 3 id J
2 6 5 type Ljdk/jfr/internal/Type;
4 5 6 name Ljava/lang/String;
MethodParameters:
Name Flags
attribute
element
private void buildEvenTypes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
getfield jdk.jfr.internal.MetadataDescriptor.types:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: jdk.jfr.internal.MetadataReader top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 1
start local 1 2: aload 1
instanceof jdk.jfr.internal.PlatformEventType
ifeq 4
3: aload 0
getfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
getfield jdk.jfr.internal.MetadataDescriptor.eventTypes:Ljava/util/List;
invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 1
checkcast jdk.jfr.internal.PlatformEventType
invokevirtual jdk.jfr.internal.PrivateAccess.newEventType:(Ljdk/jfr/internal/PlatformEventType;)Ljdk/jfr/EventType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/MetadataReader;
2 4 1 type Ljdk/jfr/internal/Type;
private void defineTypes(jdk.jfr.internal.MetadataDescriptor$Element);
descriptor: (Ljdk/jfr/internal/MetadataDescriptor$Element;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=14, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "class"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 23
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 2
start local 2 2: aload 2
ldc "id"
ldc -1
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;J)J
lstore 4
start local 4 3: aload 0
getfield jdk.jfr.internal.MetadataReader.types:Ljava/util/Map;
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 6
start local 6 4: aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "setting"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 11
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator long jdk.jfr.internal.Type top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 7
start local 7 6: aload 7
ldc "name"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 7: aload 7
ldc "name"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 8: aload 0
ldc "class"
aload 7
invokevirtual jdk.jfr.internal.MetadataReader.getType:(Ljava/lang/String;Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/internal/Type;
astore 11
start local 11 9: aload 6
checkcast jdk.jfr.internal.PlatformEventType
astore 12
start local 12 10: aload 12
invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 11
aload 9
aload 10
new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
invokevirtual jdk.jfr.internal.PrivateAccess.newSettingDescriptor:(Ljdk/jfr/internal/Type;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ljdk/jfr/SettingDescriptor;
invokevirtual jdk.jfr.internal.PlatformEventType.add:(Ljdk/jfr/SettingDescriptor;)V
end local 12 end local 11 end local 10 end local 9 end local 7 11: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: aload 2
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "field"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 21
StackMap locals:
StackMap stack:
13: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 7
start local 7 14: aload 7
ldc "name"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 15: aload 0
ldc "class"
aload 7
invokevirtual jdk.jfr.internal.MetadataReader.getType:(Ljava/lang/String;Ljdk/jfr/internal/MetadataDescriptor$Element;)Ljdk/jfr/internal/Type;
astore 10
start local 10 16: aload 7
ldc "dimension"
lconst_0
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;J)J
lstore 11
start local 11 17: aload 7
ldc "constantPool"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
ifnull 18
iconst_1
goto 19
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator long jdk.jfr.internal.Type jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator java.lang.String jdk.jfr.internal.Type long
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 13
start local 13 20: aload 6
invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 9
aload 10
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
lload 11
l2i
iload 13
aconst_null
invokevirtual jdk.jfr.internal.PrivateAccess.newValueDescriptor:(Ljava/lang/String;Ljdk/jfr/internal/Type;Ljava/util/List;IZLjava/lang/String;)Ljdk/jfr/ValueDescriptor;
invokevirtual jdk.jfr.internal.Type.add:(Ljdk/jfr/ValueDescriptor;)V
end local 13 end local 11 end local 10 end local 9 end local 7 21: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator long jdk.jfr.internal.Type top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
22: aload 6
invokevirtual jdk.jfr.internal.Type.trimFields:()V
end local 6 end local 4 end local 2 23: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
24: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/jfr/internal/MetadataReader;
0 25 1 metadata Ljdk/jfr/internal/MetadataDescriptor$Element;
2 23 2 typeElement Ljdk/jfr/internal/MetadataDescriptor$Element;
3 23 4 id J
4 23 6 t Ljdk/jfr/internal/Type;
6 11 7 fieldElement Ljdk/jfr/internal/MetadataDescriptor$Element;
7 11 9 name Ljava/lang/String;
8 11 10 defaultValue Ljava/lang/String;
9 11 11 settingType Ljdk/jfr/internal/Type;
10 11 12 eventType Ljdk/jfr/internal/PlatformEventType;
14 21 7 fieldElement Ljdk/jfr/internal/MetadataDescriptor$Element;
15 21 9 name Ljava/lang/String;
16 21 10 fieldType Ljdk/jfr/internal/Type;
17 21 11 dimension J
20 21 13 constantPool Z
MethodParameters:
Name Flags
metadata
private void declareTypes(jdk.jfr.internal.MetadataDescriptor$Element);
descriptor: (Ljdk/jfr/internal/MetadataDescriptor$Element;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "class"
aastore
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.elements:([Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataDescriptor$Element
astore 2
start local 2 2: aload 2
ldc "name"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 3: aload 2
ldc "superType"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 4: aload 2
ldc "simpleType"
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;)Ljava/lang/String;
ifnull 5
iconst_1
goto 6
StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element jdk.jfr.internal.MetadataDescriptor$Element java.util.Iterator java.lang.String java.lang.String
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 6
start local 6 7: aload 2
ldc "id"
ldc -1
invokevirtual jdk.jfr.internal.MetadataDescriptor$Element.attribute:(Ljava/lang/String;J)J
lstore 7
start local 7 8: getstatic jdk.jfr.internal.Type.SUPER_TYPE_EVENT:Ljava/lang/String;
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: new jdk.jfr.internal.PlatformEventType
dup
aload 4
lload 7
iconst_0
iconst_0
invokespecial jdk.jfr.internal.PlatformEventType.<init>:(Ljava/lang/String;JZZ)V
astore 9
start local 9 10: goto 12
end local 9 11: StackMap locals: int long
StackMap stack:
new jdk.jfr.internal.Type
dup
aload 4
aload 5
lload 7
iload 6
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial jdk.jfr.internal.Type.<init>:(Ljava/lang/String;Ljava/lang/String;JLjava/lang/Boolean;)V
astore 9
start local 9 12: StackMap locals: jdk.jfr.internal.Type
StackMap stack:
aload 0
getfield jdk.jfr.internal.MetadataReader.types:Ljava/util/Map;
lload 7
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
getfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
getfield jdk.jfr.internal.MetadataDescriptor.types:Ljava/util/Collection;
aload 9
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 7 end local 6 end local 5 end local 4 end local 2 14: StackMap locals: jdk.jfr.internal.MetadataReader jdk.jfr.internal.MetadataDescriptor$Element top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/jfr/internal/MetadataReader;
0 16 1 metadata Ljdk/jfr/internal/MetadataDescriptor$Element;
2 14 2 typeElement Ljdk/jfr/internal/MetadataDescriptor$Element;
3 14 4 typeName Ljava/lang/String;
4 14 5 superType Ljava/lang/String;
7 14 6 simpleType Z
8 14 7 id J
10 11 9 t Ljdk/jfr/internal/Type;
12 14 9 t Ljdk/jfr/internal/Type;
MethodParameters:
Name Flags
metadata
public jdk.jfr.internal.MetadataDescriptor getDescriptor();
descriptor: ()Ljdk/jfr/internal/MetadataDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.MetadataReader.descriptor:Ljdk/jfr/internal/MetadataDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/MetadataReader;
private static int lambda$0(jdk.jfr.internal.Type, jdk.jfr.internal.Type);
descriptor: (Ljdk/jfr/internal/Type;Ljdk/jfr/internal/Type;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
aload 1
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Ljdk/jfr/internal/Type;
0 1 1 y Ljdk/jfr/internal/Type;
}
SourceFile: "MetadataReader.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final Element = jdk.jfr.internal.MetadataDescriptor$Element of jdk.jfr.internal.MetadataDescriptor