final class jdk.jfr.internal.MetadataHandler extends jdk.internal.org.xml.sax.helpers.DefaultHandler implements jdk.internal.org.xml.sax.EntityResolver
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.MetadataHandler
super_class: jdk.internal.org.xml.sax.helpers.DefaultHandler
{
final java.util.Map<java.lang.String, jdk.jfr.internal.MetadataHandler$TypeElement> types;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/MetadataHandler$TypeElement;>;
final java.util.Map<java.lang.String, jdk.jfr.internal.MetadataHandler$XmlType> xmlTypes;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/MetadataHandler$XmlType;>;
final java.util.Map<java.lang.String, java.util.List<jdk.jfr.AnnotationElement>> xmlContentTypes;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljdk/jfr/AnnotationElement;>;>;
final java.util.List<java.lang.String> relations;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
long eventTypeId;
descriptor: J
flags: (0x0000)
long structTypeId;
descriptor: J
flags: (0x0000)
jdk.jfr.internal.MetadataHandler$FieldElement currentField;
descriptor: Ljdk/jfr/internal/MetadataHandler$FieldElement;
flags: (0x0000)
jdk.jfr.internal.MetadataHandler$TypeElement currentType;
descriptor: Ljdk/jfr/internal/MetadataHandler$TypeElement;
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.internal.org.xml.sax.helpers.DefaultHandler.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
sipush 200
invokespecial java.util.LinkedHashMap.<init>:(I)V
putfield jdk.jfr.internal.MetadataHandler.types:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
bipush 20
invokespecial java.util.HashMap.<init>:(I)V
putfield jdk.jfr.internal.MetadataHandler.xmlTypes:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
bipush 20
invokespecial java.util.HashMap.<init>:(I)V
putfield jdk.jfr.internal.MetadataHandler.xmlContentTypes:Ljava/util/Map;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.jfr.internal.MetadataHandler.relations:Ljava/util/List;
5: aload 0
ldc 255
putfield jdk.jfr.internal.MetadataHandler.eventTypeId:J
6: aload 0
ldc 33
putfield jdk.jfr.internal.MetadataHandler.structTypeId:J
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/MetadataHandler;
public void startElement(java.lang.String, java.lang.String, java.lang.String, jdk.internal.org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
dup
astore 5
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 6
-1120873764: 1
-489791972: 2
-281114671: 3
2622298: 4
67338874: 5
67875034: 6
default: 45
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 5
ldc "XmlContentType"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 39
goto 45
StackMap locals:
StackMap stack:
2: aload 5
ldc "Relation"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 43
goto 45
StackMap locals:
StackMap stack:
3: aload 5
ldc "XmlType"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
goto 45
StackMap locals:
StackMap stack:
4: aload 5
ldc "Type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 45
StackMap locals:
StackMap stack:
5: aload 5
ldc "Event"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 45
StackMap locals:
StackMap stack:
6: aload 5
ldc "Field"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
goto 45
7: StackMap locals:
StackMap stack:
new jdk.jfr.internal.MetadataHandler$XmlType
dup
invokespecial jdk.jfr.internal.MetadataHandler$XmlType.<init>:()V
astore 6
start local 6 8: aload 6
aload 4
ldc "name"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$XmlType.name:Ljava/lang/String;
9: aload 6
aload 4
ldc "javaType"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$XmlType.javaType:Ljava/lang/String;
10: aload 6
aload 4
ldc "contentType"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$XmlType.contentType:Ljava/lang/String;
11: aload 6
aload 4
ldc "unsigned"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield jdk.jfr.internal.MetadataHandler$XmlType.unsigned:Z
12: aload 0
getfield jdk.jfr.internal.MetadataHandler.xmlTypes:Ljava/util/Map;
aload 6
getfield jdk.jfr.internal.MetadataHandler$XmlType.name:Ljava/lang/String;
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: goto 45
end local 6 14: StackMap locals:
StackMap stack:
aload 0
new jdk.jfr.internal.MetadataHandler$TypeElement
dup
invokespecial jdk.jfr.internal.MetadataHandler$TypeElement.<init>:()V
putfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
15: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 4
ldc "name"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
16: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 4
ldc "label"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.label:Ljava/lang/String;
17: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 4
ldc "description"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.description:Ljava/lang/String;
18: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 4
ldc "category"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.category:Ljava/lang/String;
19: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 0
aload 4
ldc "thread"
iconst_0
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$TypeElement.thread:Z
20: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 0
aload 4
ldc "stackTrace"
iconst_0
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$TypeElement.stackTrace:Z
21: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 0
aload 4
ldc "startTime"
iconst_1
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$TypeElement.startTime:Z
22: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 4
ldc "period"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.period:Ljava/lang/String;
23: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 0
aload 4
ldc "cutoff"
iconst_0
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$TypeElement.cutoff:Z
24: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 0
aload 4
ldc "experimental"
iconst_0
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$TypeElement.experimental:Z
25: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
aload 3
ldc "Event"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield jdk.jfr.internal.MetadataHandler$TypeElement.isEvent:Z
26: goto 45
27: StackMap locals:
StackMap stack:
aload 0
new jdk.jfr.internal.MetadataHandler$FieldElement
dup
invokespecial jdk.jfr.internal.MetadataHandler$FieldElement.<init>:()V
putfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
28: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 0
aload 4
ldc "struct"
iconst_0
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$FieldElement.struct:Z
29: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 0
aload 4
ldc "array"
iconst_0
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$FieldElement.array:Z
30: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 4
ldc "name"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.name:Ljava/lang/String;
31: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 4
ldc "label"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.label:Ljava/lang/String;
32: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 4
ldc "type"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.typeName:Ljava/lang/String;
33: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 4
ldc "description"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.description:Ljava/lang/String;
34: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 0
aload 4
ldc "experimental"
iconst_0
invokevirtual jdk.jfr.internal.MetadataHandler.getBoolean:(Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
putfield jdk.jfr.internal.MetadataHandler$FieldElement.experimental:Z
35: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 4
ldc "contentType"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.contentType:Ljava/lang/String;
36: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 4
ldc "relation"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.relation:Ljava/lang/String;
37: aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
aload 4
ldc "transition"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.transition:Ljava/lang/String;
38: goto 45
39: StackMap locals:
StackMap stack:
aload 4
ldc "name"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 40: aload 4
ldc "annotation"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 41: aload 0
getfield jdk.jfr.internal.MetadataHandler.xmlContentTypes:Ljava/util/Map;
aload 7
aload 0
aload 8
invokevirtual jdk.jfr.internal.MetadataHandler.createAnnotationElements:(Ljava/lang/String;)Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
42: goto 45
end local 8 end local 7 43: StackMap locals:
StackMap stack:
aload 4
ldc "name"
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 44: aload 0
getfield jdk.jfr.internal.MetadataHandler.relations:Ljava/util/List;
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 45: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Ljdk/jfr/internal/MetadataHandler;
0 46 1 uri Ljava/lang/String;
0 46 2 localName Ljava/lang/String;
0 46 3 qName Ljava/lang/String;
0 46 4 attributes Ljdk/internal/org/xml/sax/Attributes;
8 14 6 xmlType Ljdk/jfr/internal/MetadataHandler$XmlType;
40 43 7 name Ljava/lang/String;
41 43 8 annotation Ljava/lang/String;
44 45 9 n Ljava/lang/String;
Exceptions:
throws jdk.internal.org.xml.sax.SAXException
MethodParameters:
Name Flags
uri
localName
qName
attributes
private java.util.List<jdk.jfr.AnnotationElement> createAnnotationElements(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: aload 1
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
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
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 16
StackMap locals: jdk.jfr.internal.MetadataHandler java.lang.String java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
5: aload 4
ldc "("
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 8
start local 8 6: iload 8
iconst_m1
if_icmpne 9
7: aload 3
new jdk.jfr.AnnotationElement
dup
aload 0
aload 4
invokevirtual jdk.jfr.internal.MetadataHandler.createAnnotationClass:(Ljava/lang/String;)Ljava/lang/Class;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: goto 15
9: StackMap locals: jdk.jfr.internal.MetadataHandler java.lang.String java.lang.String[] java.util.List java.lang.String int int java.lang.String[] int
StackMap stack:
aload 4
ldc ")"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 9
start local 9 10: iload 9
iconst_m1
if_icmpne 12
11: new java.lang.InternalError
dup
ldc "Expected closing parenthesis for 'XMLContentType'"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: int
StackMap stack:
aload 4
iload 8
iconst_1
iadd
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 13: aload 4
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 14: aload 3
new jdk.jfr.AnnotationElement
dup
aload 0
aload 11
invokevirtual jdk.jfr.internal.MetadataHandler.createAnnotationClass:(Ljava/lang/String;)Ljava/lang/Class;
aload 10
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 10 end local 9 end local 8 end local 4 15: StackMap locals: jdk.jfr.internal.MetadataHandler java.lang.String java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 6
if_icmplt 3
17: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jfr/internal/MetadataHandler;
0 18 1 annotation Ljava/lang/String;
1 18 2 annotations [Ljava/lang/String;
2 18 3 annotationElements Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
4 15 4 a Ljava/lang/String;
6 15 8 leftParenthesis I
10 15 9 rightParenthesis I
13 15 10 value Ljava/lang/String;
14 15 11 type Ljava/lang/String;
Exceptions:
throws java.lang.InternalError
Signature: (Ljava/lang/String;)Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
MethodParameters:
Name Flags
annotation
private java.lang.Class<? extends java.lang.annotation.Annotation> createAnnotationClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "jdk.jfr."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Incorrect type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". Annotation class must be located in jdk.jfr package."
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
2: StackMap locals:
StackMap stack:
aload 1
iconst_1
aconst_null
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 2
start local 2 3: aload 2
4: areturn
end local 2 5: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 6: new java.lang.IllegalStateException
dup
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/MetadataHandler;
0 7 1 type Ljava/lang/String;
3 5 2 c Ljava/lang/Class<*>;
6 7 2 cne Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 4 5 Class java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
MethodParameters:
Name Flags
type
private boolean getBoolean(jdk.internal.org.xml.sax.Attributes, java.lang.String, boolean);
descriptor: (Ljdk/internal/org/xml/sax/Attributes;Ljava/lang/String;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokeinterface jdk.internal.org.xml.sax.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 2
iload 3
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 4
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
StackMap locals:
StackMap stack: int
3: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/MetadataHandler;
0 4 1 attributes Ljdk/internal/org/xml/sax/Attributes;
0 4 2 name Ljava/lang/String;
0 4 3 defaultValue Z
1 4 4 value Ljava/lang/String;
MethodParameters:
Name Flags
attributes
name
defaultValue
public void endElement(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
dup
astore 4
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
2622298: 1
67338874: 2
67875034: 3
default: 9
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 4
ldc "Type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 9
StackMap locals:
StackMap stack:
2: aload 4
ldc "Event"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 9
StackMap locals:
StackMap stack:
3: aload 4
ldc "Field"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
goto 9
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.MetadataHandler.types:Ljava/util/Map;
aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
aconst_null
putfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.MetadataHandler.currentType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
getfield jdk.jfr.internal.MetadataHandler$TypeElement.fields:Ljava/util/List;
aload 0
getfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 0
aconst_null
putfield jdk.jfr.internal.MetadataHandler.currentField:Ljdk/jfr/internal/MetadataHandler$FieldElement;
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/internal/MetadataHandler;
0 10 1 uri Ljava/lang/String;
0 10 2 localName Ljava/lang/String;
0 10 3 qName Ljava/lang/String;
MethodParameters:
Name Flags
uri
localName
qName
public static java.util.List<jdk.jfr.internal.Type> createTypes();
descriptor: ()Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=0
0: new jdk.internal.util.xml.impl.SAXParserImpl
dup
invokespecial jdk.internal.util.xml.impl.SAXParserImpl.<init>:()V
astore 0
start local 0 1: new jdk.jfr.internal.MetadataHandler
dup
invokespecial jdk.jfr.internal.MetadataHandler.<init>:()V
astore 1
start local 1 2: aconst_null
astore 2
aconst_null
astore 3
3: new java.io.BufferedInputStream
dup
ldc "/jdk/jfr/internal/types/metadata.xml"
invokestatic jdk.jfr.internal.SecuritySupport.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 4
start local 4 4: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/jfr/internal/MetadataHandler.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
5: aload 0
aload 4
aload 1
invokevirtual jdk.internal.util.xml.SAXParser.parse:(Ljava/io/InputStream;Ljdk/internal/org/xml/sax/helpers/DefaultHandler;)V
6: aload 1
invokevirtual jdk.jfr.internal.MetadataHandler.buildTypes:()Ljava/util/List;
7: aload 4
ifnull 8
aload 4
invokevirtual java.io.InputStream.close:()V
8: StackMap locals: jdk.internal.util.xml.SAXParser jdk.jfr.internal.MetadataHandler java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.util.List
areturn
9: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 10: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
11: new java.io.IOException
dup
aload 5
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
13: aload 4
ifnull 14
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
14: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 3
aload 2
ifnonnull 16
aload 3
astore 2
goto 17
StackMap locals:
StackMap stack:
16: aload 2
aload 3
if_acmpeq 17
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 18 0 parser Ljdk/internal/util/xml/SAXParser;
2 18 1 t Ljdk/jfr/internal/MetadataHandler;
4 14 4 is Ljava/io/InputStream;
10 12 5 e Ljava/lang/Exception;
Exception table:
from to target type
5 7 9 Class java.lang.Exception
4 7 12 any
9 12 12 any
3 8 15 any
9 15 15 any
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljdk/jfr/internal/Type;>;
private java.util.List<jdk.jfr.internal.Type> buildTypes();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.MetadataHandler.removeXMLConvenience:()V
1: aload 0
invokevirtual jdk.jfr.internal.MetadataHandler.buildTypeMap:()Ljava/util/Map;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual jdk.jfr.internal.MetadataHandler.buildRelationMap:(Ljava/util/Map;)Ljava/util/Map;
astore 2
start local 2 3: aload 0
aload 1
aload 2
invokevirtual jdk.jfr.internal.MetadataHandler.addFields:(Ljava/util/Map;Ljava/util/Map;)V
4: aload 0
aload 1
invokevirtual jdk.jfr.internal.MetadataHandler.trimTypes:(Ljava/util/Map;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/MetadataHandler;
2 5 1 typeMap Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;
3 5 2 relationMap Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/AnnotationElement;>;
Signature: ()Ljava/util/List<Ljdk/jfr/internal/Type;>;
private java.util.Map<java.lang.String, jdk.jfr.AnnotationElement> buildRelationMap(java.util.Map<java.lang.String, jdk.jfr.internal.Type>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=7, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
getfield jdk.jfr.internal.MetadataHandler.relations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: new jdk.jfr.internal.Type
dup
new java.lang.StringBuilder
dup
ldc "jdk.types."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic jdk.jfr.internal.Type.SUPER_TYPE_ANNOTATION:Ljava/lang/String;
aload 0
dup
getfield jdk.jfr.internal.MetadataHandler.eventTypeId:J
dup2_x1
lconst_1
ladd
putfield jdk.jfr.internal.MetadataHandler.eventTypeId:J
invokespecial jdk.jfr.internal.Type.<init>:(Ljava/lang/String;Ljava/lang/String;J)V
astore 5
start local 5 4: aload 5
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Relational;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokevirtual jdk.jfr.internal.Type.setAnnotations:(Ljava/util/List;)V
5: invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 5
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
iconst_1
invokevirtual jdk.jfr.internal.PrivateAccess.newAnnotation:(Ljdk/jfr/internal/Type;Ljava/util/List;Z)Ljdk/jfr/AnnotationElement;
astore 6
start local 6 6: aload 2
aload 3
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 1
aload 5
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/internal/MetadataHandler;
0 10 1 typeMap Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;
1 10 2 relationMap Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/AnnotationElement;>;
3 8 3 relation Ljava/lang/String;
4 8 5 relationType Ljdk/jfr/internal/Type;
6 8 6 ae Ljdk/jfr/AnnotationElement;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;)Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/AnnotationElement;>;
MethodParameters:
Name Flags
typeMap
private java.util.List<jdk.jfr.internal.Type> trimTypes(java.util.Map<java.lang.String, jdk.jfr.internal.Type>);
descriptor: (Ljava/util/Map;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.Map.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 3
start local 3 3: aload 3
invokevirtual jdk.jfr.internal.Type.trimFields:()V
4: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/MetadataHandler;
0 7 1 lookup Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;
1 7 2 trimmedTypes Ljava/util/List<Ljdk/jfr/internal/Type;>;
3 5 3 t Ljdk/jfr/internal/Type;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;)Ljava/util/List<Ljdk/jfr/internal/Type;>;
MethodParameters:
Name Flags
lookup
private void addFields(java.util.Map<java.lang.String, jdk.jfr.internal.Type>, java.util.Map<java.lang.String, jdk.jfr.AnnotationElement>);
descriptor: (Ljava/util/Map;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.jfr.internal.MetadataHandler.types:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 41
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$TypeElement
astore 3
start local 3 2: aload 1
aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 5
start local 5 3: aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.isEvent:Z
ifeq 12
4: aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.period:Ljava/lang/String;
ifnull 5
iconst_1
goto 6
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 6
start local 6 7: aload 5
iload 6
aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.startTime:Z
ifeq 8
iload 6
ifne 8
iconst_1
goto 9
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type int
StackMap stack: jdk.jfr.internal.Type int
8: iconst_0
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type int
StackMap stack: jdk.jfr.internal.Type int int
9: aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.thread:Z
aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.stackTrace:Z
ifeq 10
iload 6
ifne 10
iconst_1
goto 11
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type int
StackMap stack: jdk.jfr.internal.Type int int int
10: iconst_0
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type int
StackMap stack: jdk.jfr.internal.Type int int int int
11: aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.cutoff:Z
invokestatic jdk.jfr.internal.TypeLibrary.addImplicitFields:(Ljdk/jfr/internal/Type;ZZZZZ)V
end local 6 12: StackMap locals:
StackMap stack:
aload 3
getfield jdk.jfr.internal.MetadataHandler$TypeElement.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 40
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type top java.util.Iterator
StackMap stack:
13: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$FieldElement
astore 6
start local 6 14: aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.typeName:Ljava/lang/String;
invokestatic jdk.jfr.internal.Type.getKnownType:(Ljava/lang/String;)Ljdk/jfr/internal/Type;
astore 8
start local 8 15: aload 8
ifnonnull 17
16: aload 1
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.referenceType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 8
17: StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type jdk.jfr.internal.MetadataHandler$FieldElement java.util.Iterator jdk.jfr.internal.Type
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 9
start local 9 18: aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.unsigned:Z
ifeq 20
19: aload 9
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Unsigned;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals: java.util.List
StackMap stack:
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.contentType:Ljava/lang/String;
ifnull 22
21: aload 9
aload 0
getfield jdk.jfr.internal.MetadataHandler.xmlContentTypes:Ljava/util/Map;
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.contentType:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
22: StackMap locals:
StackMap stack:
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.relation:Ljava/lang/String;
ifnull 24
23: aload 9
aload 2
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.relation:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.AnnotationElement
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.AnnotationElement
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: StackMap locals:
StackMap stack:
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.label:Ljava/lang/String;
ifnull 26
25: aload 9
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Label;
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.label:Ljava/lang/String;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: StackMap locals:
StackMap stack:
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.experimental:Z
ifeq 28
27: aload 9
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Experimental;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
28: StackMap locals:
StackMap stack:
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.description:Ljava/lang/String;
ifnull 30
29: aload 9
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Description;
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.description:Ljava/lang/String;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: StackMap locals:
StackMap stack:
ldc "from"
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.transition:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
31: aload 9
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/TransitionFrom;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
32: StackMap locals:
StackMap stack:
ldc "to"
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.transition:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
33: aload 9
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/TransitionTo;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
34: StackMap locals:
StackMap stack:
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.struct:Z
ifne 35
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.referenceType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
ifnull 35
iconst_1
goto 36
StackMap locals:
StackMap stack:
35: iconst_0
StackMap locals:
StackMap stack: int
36: istore 10
start local 10 37: aload 5
invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.name:Ljava/lang/String;
aload 8
aload 9
aload 6
getfield jdk.jfr.internal.MetadataHandler$FieldElement.array:Z
ifeq 38
iconst_1
goto 39
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type jdk.jfr.internal.MetadataHandler$FieldElement java.util.Iterator jdk.jfr.internal.Type java.util.List int
StackMap stack: jdk.jfr.internal.Type jdk.jfr.internal.PrivateAccess java.lang.String jdk.jfr.internal.Type java.util.List
38: iconst_0
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type jdk.jfr.internal.MetadataHandler$FieldElement java.util.Iterator jdk.jfr.internal.Type java.util.List int
StackMap stack: jdk.jfr.internal.Type jdk.jfr.internal.PrivateAccess java.lang.String jdk.jfr.internal.Type java.util.List int
39: iload 10
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 10 end local 9 end local 8 end local 6 40: StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.Type top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
end local 5 end local 3 41: StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
42: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Ljdk/jfr/internal/MetadataHandler;
0 43 1 lookup Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;
0 43 2 relationMap Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/AnnotationElement;>;
2 41 3 te Ljdk/jfr/internal/MetadataHandler$TypeElement;
3 41 5 type Ljdk/jfr/internal/Type;
7 12 6 periodic Z
14 40 6 f Ljdk/jfr/internal/MetadataHandler$FieldElement;
15 40 8 fieldType Ljdk/jfr/internal/Type;
18 40 9 aes Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
37 40 10 constantPool Z
Signature: (Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/AnnotationElement;>;)V
MethodParameters:
Name Flags
lookup
relationMap
private java.util.Map<java.lang.String, jdk.jfr.internal.Type> buildTypeMap();
descriptor: ()Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: invokestatic jdk.jfr.internal.Type.getKnownTypes:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 2
start local 2 3: aload 1
aload 2
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
getfield jdk.jfr.internal.MetadataHandler.types:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 38
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$TypeElement
astore 2
start local 2 7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 8: aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.category:Ljava/lang/String;
ifnull 10
9: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Category;
aload 0
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.category:Ljava/lang/String;
invokevirtual jdk.jfr.internal.MetadataHandler.buildCategoryArray:(Ljava/lang/String;)[Ljava/lang/String;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator java.util.List
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.label:Ljava/lang/String;
ifnull 12
11: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Label;
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.label:Ljava/lang/String;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.description:Ljava/lang/String;
ifnull 14
13: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Description;
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.description:Ljava/lang/String;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.isEvent:Z
ifeq 24
15: aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.period:Ljava/lang/String;
ifnull 18
16: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Period;
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.period:Ljava/lang/String;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: goto 22
18: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.startTime:Z
ifeq 20
19: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Threshold;
ldc "0 ns"
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.stackTrace:Z
ifeq 22
21: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/StackTrace;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.cutoff:Z
ifeq 24
23: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/internal/Cutoff;
ldc "infinity"
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.experimental:Z
ifeq 26
25: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Experimental;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.isEvent:Z
ifeq 30
27: aload 4
new jdk.jfr.AnnotationElement
dup
ldc Ljdk/jfr/Enabled;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial jdk.jfr.AnnotationElement.<init>:(Ljava/lang/Class;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
28: new jdk.jfr.internal.PlatformEventType
dup
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
aload 0
dup
getfield jdk.jfr.internal.MetadataHandler.eventTypeId:J
dup2_x1
lconst_1
ladd
putfield jdk.jfr.internal.MetadataHandler.eventTypeId:J
iconst_0
iconst_1
invokespecial jdk.jfr.internal.PlatformEventType.<init>:(Ljava/lang/String;JZZ)V
astore 5
start local 5 29: goto 36
end local 5 30: StackMap locals:
StackMap stack:
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
ldc "StackFrame"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 31
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.valueType:Z
ifne 31
iconst_0
goto 32
StackMap locals:
StackMap stack:
31: iconst_1
StackMap locals:
StackMap stack: int
32: istore 6
start local 6 33: new jdk.jfr.internal.Type
dup
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
aconst_null
iload 6
ifeq 34
aload 0
dup
getfield jdk.jfr.internal.MetadataHandler.eventTypeId:J
dup2_x1
lconst_1
ladd
putfield jdk.jfr.internal.MetadataHandler.eventTypeId:J
goto 35
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator java.util.List top int
StackMap stack: new 33 new 33 java.lang.String null
34: aload 0
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
invokevirtual jdk.jfr.internal.MetadataHandler.nextTypeId:(Ljava/lang/String;)J
StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator java.util.List top int
StackMap stack: new 33 new 33 java.lang.String null long
35: iconst_0
invokespecial jdk.jfr.internal.Type.<init>:(Ljava/lang/String;Ljava/lang/String;JZ)V
astore 5
end local 6 start local 5 36: StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator java.util.List jdk.jfr.internal.Type
StackMap stack:
aload 5
aload 4
invokevirtual jdk.jfr.internal.Type.setAnnotations:(Ljava/util/List;)V
37: aload 1
aload 2
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 2 38: StackMap locals: jdk.jfr.internal.MetadataHandler java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
39: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Ljdk/jfr/internal/MetadataHandler;
1 40 1 typeMap Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;
3 4 2 type Ljdk/jfr/internal/Type;
7 38 2 t Ljdk/jfr/internal/MetadataHandler$TypeElement;
8 38 4 aes Ljava/util/List<Ljdk/jfr/AnnotationElement;>;
29 30 5 type Ljdk/jfr/internal/Type;
36 38 5 type Ljdk/jfr/internal/Type;
33 36 6 valueType Z
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/Type;>;
private long nextTypeId(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.jfr.internal.Type.THREAD:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: getstatic jdk.jfr.internal.Type.THREAD:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getId:()J
lreturn
2: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.Type.STRING:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: getstatic jdk.jfr.internal.Type.STRING:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getId:()J
lreturn
4: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.Type.CLASS:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: getstatic jdk.jfr.internal.Type.CLASS:Ljdk/jfr/internal/Type;
invokevirtual jdk.jfr.internal.Type.getId:()J
lreturn
6: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.Type.getKnownTypes:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: jdk.jfr.internal.MetadataHandler java.lang.String top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 2
start local 2 8: aload 2
invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 2
invokevirtual jdk.jfr.internal.Type.getId:()J
lreturn
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: aload 0
dup
getfield jdk.jfr.internal.MetadataHandler.structTypeId:J
dup2_x1
lconst_1
ladd
putfield jdk.jfr.internal.MetadataHandler.structTypeId:J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/jfr/internal/MetadataHandler;
0 12 1 name Ljava/lang/String;
8 10 2 type Ljdk/jfr/internal/Type;
MethodParameters:
Name Flags
name
private java.lang.String[] buildCategoryArray(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: aload 1
invokevirtual java.lang.String.toCharArray:()[C
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 10
StackMap locals: jdk.jfr.internal.MetadataHandler java.lang.String java.util.List java.lang.StringBuilder top int int char[]
StackMap stack:
3: aload 7
iload 5
caload
istore 4
start local 4 4: iload 4
bipush 44
if_icmpne 8
5: aload 2
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 3
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
7: goto 9
8: StackMap locals: jdk.jfr.internal.MetadataHandler java.lang.String java.util.List java.lang.StringBuilder int int int char[]
StackMap stack:
aload 3
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 9: StackMap locals: jdk.jfr.internal.MetadataHandler java.lang.String java.util.List java.lang.StringBuilder top int int char[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 6
if_icmplt 3
11: aload 2
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 2
iconst_0
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/MetadataHandler;
0 13 1 category Ljava/lang/String;
1 13 2 categories Ljava/util/List<Ljava/lang/String;>;
2 13 3 sb Ljava/lang/StringBuilder;
4 9 4 c C
MethodParameters:
Name Flags
category
private void removeXMLConvenience();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.MetadataHandler.types:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 10
StackMap locals: jdk.jfr.internal.MetadataHandler top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$TypeElement
astore 1
start local 1 2: aload 0
getfield jdk.jfr.internal.MetadataHandler.xmlTypes:Ljava/util/Map;
aload 1
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$XmlType
astore 3
start local 3 3: aload 3
ifnull 6
aload 3
getfield jdk.jfr.internal.MetadataHandler$XmlType.javaType:Ljava/lang/String;
ifnull 6
4: aload 1
aload 3
getfield jdk.jfr.internal.MetadataHandler$XmlType.javaType:Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
5: goto 10
6: StackMap locals: jdk.jfr.internal.MetadataHandler jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.MetadataHandler$XmlType
StackMap stack:
aload 1
getfield jdk.jfr.internal.MetadataHandler$TypeElement.isEvent:Z
ifeq 9
7: aload 1
new java.lang.StringBuilder
dup
ldc "jdk."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
8: goto 10
9: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "jdk.types."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$TypeElement.name:Ljava/lang/String;
end local 3 end local 1 10: StackMap locals: jdk.jfr.internal.MetadataHandler top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
11: aload 0
getfield jdk.jfr.internal.MetadataHandler.types:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 27
StackMap locals:
StackMap stack:
12: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$TypeElement
astore 1
start local 1 13: aload 1
getfield jdk.jfr.internal.MetadataHandler$TypeElement.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 26
StackMap locals: jdk.jfr.internal.MetadataHandler jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator top java.util.Iterator
StackMap stack:
14: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$FieldElement
astore 3
start local 3 15: aload 3
aload 0
getfield jdk.jfr.internal.MetadataHandler.types:Ljava/util/Map;
aload 3
getfield jdk.jfr.internal.MetadataHandler$FieldElement.typeName:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$TypeElement
putfield jdk.jfr.internal.MetadataHandler$FieldElement.referenceType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
16: aload 0
getfield jdk.jfr.internal.MetadataHandler.xmlTypes:Ljava/util/Map;
aload 3
getfield jdk.jfr.internal.MetadataHandler$FieldElement.typeName:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.MetadataHandler$XmlType
astore 5
start local 5 17: aload 5
ifnull 24
18: aload 5
getfield jdk.jfr.internal.MetadataHandler$XmlType.javaType:Ljava/lang/String;
ifnull 20
19: aload 3
aload 5
getfield jdk.jfr.internal.MetadataHandler$XmlType.javaType:Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.typeName:Ljava/lang/String;
20: StackMap locals: jdk.jfr.internal.MetadataHandler jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator jdk.jfr.internal.MetadataHandler$FieldElement java.util.Iterator jdk.jfr.internal.MetadataHandler$XmlType
StackMap stack:
aload 5
getfield jdk.jfr.internal.MetadataHandler$XmlType.contentType:Ljava/lang/String;
ifnull 22
21: aload 3
aload 5
getfield jdk.jfr.internal.MetadataHandler$XmlType.contentType:Ljava/lang/String;
putfield jdk.jfr.internal.MetadataHandler$FieldElement.contentType:Ljava/lang/String;
22: StackMap locals:
StackMap stack:
aload 5
getfield jdk.jfr.internal.MetadataHandler$XmlType.unsigned:Z
ifeq 24
23: aload 3
iconst_1
putfield jdk.jfr.internal.MetadataHandler$FieldElement.unsigned:Z
24: StackMap locals:
StackMap stack:
aload 3
getfield jdk.jfr.internal.MetadataHandler$FieldElement.struct:Z
ifeq 26
aload 3
getfield jdk.jfr.internal.MetadataHandler$FieldElement.referenceType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
ifnull 26
25: aload 3
getfield jdk.jfr.internal.MetadataHandler$FieldElement.referenceType:Ljdk/jfr/internal/MetadataHandler$TypeElement;
iconst_1
putfield jdk.jfr.internal.MetadataHandler$TypeElement.valueType:Z
end local 5 end local 3 26: StackMap locals: jdk.jfr.internal.MetadataHandler jdk.jfr.internal.MetadataHandler$TypeElement java.util.Iterator top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 1 27: StackMap locals: jdk.jfr.internal.MetadataHandler top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
28: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljdk/jfr/internal/MetadataHandler;
2 10 1 t Ljdk/jfr/internal/MetadataHandler$TypeElement;
3 10 3 xmlType Ljdk/jfr/internal/MetadataHandler$XmlType;
13 27 1 t Ljdk/jfr/internal/MetadataHandler$TypeElement;
15 26 3 f Ljdk/jfr/internal/MetadataHandler$FieldElement;
17 26 5 xmlType Ljdk/jfr/internal/MetadataHandler$XmlType;
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: ldc "Parsing metadata.xml"
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "MetadataHandler.java"
NestMembers:
jdk.jfr.internal.MetadataHandler$FieldElement jdk.jfr.internal.MetadataHandler$TypeElement jdk.jfr.internal.MetadataHandler$XmlType
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
FieldElement = jdk.jfr.internal.MetadataHandler$FieldElement of jdk.jfr.internal.MetadataHandler
TypeElement = jdk.jfr.internal.MetadataHandler$TypeElement of jdk.jfr.internal.MetadataHandler
XmlType = jdk.jfr.internal.MetadataHandler$XmlType of jdk.jfr.internal.MetadataHandler