final class jdk.jfr.consumer.ConstantMap
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.consumer.ConstantMap
super_class: java.lang.Object
{
private final jdk.jfr.consumer.ObjectFactory<?> factory;
descriptor: Ljdk/jfr/consumer/ObjectFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jfr/consumer/ObjectFactory<*>;
private final jdk.jfr.consumer.LongMap<java.lang.Object> objects;
descriptor: Ljdk/jfr/consumer/LongMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jfr/consumer/LongMap<Ljava/lang/Object;>;
private jdk.jfr.consumer.LongMap<java.lang.Boolean> isResolving;
descriptor: Ljdk/jfr/consumer/LongMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/jfr/consumer/LongMap<Ljava/lang/Boolean;>;
private boolean allResolved;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(jdk.jfr.consumer.ObjectFactory<?>, java.lang.String);
descriptor: (Ljdk/jfr/consumer/ObjectFactory;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.jfr.consumer.ConstantMap.name:Ljava/lang/String;
2: aload 0
new jdk.jfr.consumer.LongMap
dup
invokespecial jdk.jfr.consumer.LongMap.<init>:()V
putfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
3: aload 0
aload 1
putfield jdk.jfr.consumer.ConstantMap.factory:Ljdk/jfr/consumer/ObjectFactory;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/consumer/ConstantMap;
0 5 1 factory Ljdk/jfr/consumer/ObjectFactory<*>;
0 5 2 name Ljava/lang/String;
Signature: (Ljdk/jfr/consumer/ObjectFactory<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
factory
name
java.lang.Object get(long);
descriptor: (J)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.consumer.ConstantMap.allResolved:Z
ifeq 2
1: aload 0
getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
lload 1
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
ifnonnull 4
3: new jdk.jfr.consumer.ConstantMap$Reference
dup
aload 0
lload 1
invokespecial jdk.jfr.consumer.ConstantMap$Reference.<init>:(Ljdk/jfr/consumer/ConstantMap;J)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
lload 1
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 3
start local 3 5: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
aload 3
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 0
getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
lload 1
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
areturn
7: StackMap locals: java.lang.Boolean
StackMap stack:
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 3
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
lload 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
10: aload 0
getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
lload 1
invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
invokestatic jdk.jfr.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 11: aload 0
getfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
lload 1
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
12: aload 0
getfield jdk.jfr.consumer.ConstantMap.factory:Ljdk/jfr/consumer/ObjectFactory;
ifnull 16
13: aload 0
getfield jdk.jfr.consumer.ConstantMap.factory:Ljdk/jfr/consumer/ObjectFactory;
lload 1
aload 4
invokevirtual jdk.jfr.consumer.ObjectFactory.createObject:(JLjava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 14: aload 0
getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
lload 1
aload 5
invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
15: aload 5
areturn
end local 5 16: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
lload 1
aload 4
invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
17: aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jfr/consumer/ConstantMap;
0 18 1 id J
5 18 3 beingResolved Ljava/lang/Boolean;
11 18 4 resolved Ljava/lang/Object;
14 16 5 factorized Ljava/lang/Object;
MethodParameters:
Name Flags
id
private static java.lang.Object resolve(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
instanceof jdk.jfr.consumer.ConstantMap$Reference
ifeq 2
1: aload 0
checkcast jdk.jfr.consumer.ConstantMap$Reference
invokevirtual jdk.jfr.consumer.ConstantMap$Reference.resolve:()Ljava/lang/Object;
invokestatic jdk.jfr.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 10
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 10
3: aload 0
checkcast java.lang.Object[]
astore 1
start local 1 4: iconst_0
istore 2
start local 2 5: goto 8
6: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aload 1
iload 2
aaload
invokestatic jdk.jfr.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 1
arraylength
if_icmplt 6
end local 2 9: aload 1
areturn
end local 1 10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 o Ljava/lang/Object;
4 10 1 array [Ljava/lang/Object;
5 9 2 i I
MethodParameters:
Name Flags
o
public void resolve();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
invokevirtual jdk.jfr.consumer.LongMap.keys:()Ljava/util/Iterator;
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/List.add(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/Long;)V
invokeinterface java.util.Iterator.forEachRemaining:(Ljava/util/function/Consumer;)V
2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: jdk.jfr.consumer.ConstantMap java.util.List top top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
astore 3
start local 3 4: aload 0
aload 3
invokevirtual java.lang.Long.longValue:()J
invokevirtual jdk.jfr.consumer.ConstantMap.get:(J)Ljava/lang/Object;
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/consumer/ConstantMap;
1 7 1 keyList Ljava/util/List<Ljava/lang/Long;>;
4 5 3 l Ljava/lang/Long;
public void put(long, java.lang.Object);
descriptor: (JLjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield jdk.jfr.consumer.ConstantMap.objects:Ljdk/jfr/consumer/LongMap;
lload 1
aload 3
invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/consumer/ConstantMap;
0 2 1 key J
0 2 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public void setIsResolving();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new jdk.jfr.consumer.LongMap
dup
invokespecial jdk.jfr.consumer.LongMap.<init>:()V
putfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/consumer/ConstantMap;
public void setResolved();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.jfr.consumer.ConstantMap.allResolved:Z
1: aload 0
aconst_null
putfield jdk.jfr.consumer.ConstantMap.isResolving:Ljdk/jfr/consumer/LongMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/consumer/ConstantMap;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.ConstantMap.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/ConstantMap;
}
SourceFile: "ConstantMap.java"
NestMembers:
jdk.jfr.consumer.ConstantMap$Reference
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final Reference = jdk.jfr.consumer.ConstantMap$Reference of jdk.jfr.consumer.ConstantMap