final class jdk.jfr.internal.consumer.ConstantMap
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.ConstantMap
super_class: java.lang.Object
{
private static final int RESOLUTION_FINISHED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int RESOLUTION_STARTED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final jdk.jfr.internal.consumer.ConstantMap EMPTY;
descriptor: Ljdk/jfr/internal/consumer/ConstantMap;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
final jdk.jfr.internal.consumer.ObjectFactory<?> factory;
descriptor: Ljdk/jfr/internal/consumer/ObjectFactory;
flags: (0x0010) ACC_FINAL
Signature: Ljdk/jfr/internal/consumer/ObjectFactory<*>;
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private final jdk.jfr.internal.LongMap<java.lang.Object> objects;
descriptor: Ljdk/jfr/internal/LongMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/jfr/internal/LongMap<Ljava/lang/Object;>;
private boolean resolving;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean allResolved;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.jfr.internal.consumer.ConstantMap
dup
invokespecial jdk.jfr.internal.consumer.ConstantMap.<init>:()V
putstatic jdk.jfr.internal.consumer.ConstantMap.EMPTY:Ljdk/jfr/internal/consumer/ConstantMap;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
ldc "<empty>"
invokespecial jdk.jfr.internal.consumer.ConstantMap.<init>:(Ljdk/jfr/internal/consumer/ObjectFactory;Ljava/lang/String;)V
1: aload 0
iconst_1
putfield jdk.jfr.internal.consumer.ConstantMap.allResolved:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/consumer/ConstantMap;
void <init>(jdk.jfr.internal.consumer.ObjectFactory<?>, java.lang.String);
descriptor: (Ljdk/jfr/internal/consumer/ObjectFactory;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, 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.internal.consumer.ConstantMap.name:Ljava/lang/String;
2: aload 0
new jdk.jfr.internal.LongMap
dup
iconst_2
invokespecial jdk.jfr.internal.LongMap.<init>:(I)V
putfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
3: aload 0
aload 1
putfield jdk.jfr.internal.consumer.ConstantMap.factory:Ljdk/jfr/internal/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/internal/consumer/ConstantMap;
0 5 1 factory Ljdk/jfr/internal/consumer/ObjectFactory<*>;
0 5 2 name Ljava/lang/String;
Signature: (Ljdk/jfr/internal/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.internal.consumer.ConstantMap.allResolved:Z
ifeq 2
1: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
invokevirtual jdk.jfr.internal.LongMap.get:(J)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.resolving:Z
ifne 4
3: new jdk.jfr.internal.consumer.ConstantMap$Reference
dup
aload 0
lload 1
invokespecial jdk.jfr.internal.consumer.ConstantMap$Reference.<init>:(Ljdk/jfr/internal/consumer/ConstantMap;J)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
invokevirtual jdk.jfr.internal.LongMap.get:(J)Ljava/lang/Object;
astore 3
start local 3 5: aload 3
ifnonnull 9
6: lload 1
lconst_0
lcmp
ifeq 8
7: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Missing object id="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " in pool "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". All ids should reference an object"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
8: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
iconst_0
invokevirtual jdk.jfr.internal.LongMap.isSetId:(JI)Z
ifeq 11
10: aload 3
areturn
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
iconst_1
invokevirtual jdk.jfr.internal.LongMap.isSetId:(JI)Z
ifeq 13
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
iconst_1
invokevirtual jdk.jfr.internal.LongMap.setId:(JI)V
14: aload 3
invokestatic jdk.jfr.internal.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 15: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
iconst_0
invokevirtual jdk.jfr.internal.LongMap.setId:(JI)V
16: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.factory:Ljdk/jfr/internal/consumer/ObjectFactory;
ifnull 20
17: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.factory:Ljdk/jfr/internal/consumer/ObjectFactory;
lload 1
aload 4
invokevirtual jdk.jfr.internal.consumer.ObjectFactory.createObject:(JLjava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 18: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
aload 5
invokevirtual jdk.jfr.internal.LongMap.put:(JLjava/lang/Object;)V
19: aload 5
areturn
end local 5 20: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
aload 4
invokevirtual jdk.jfr.internal.LongMap.put:(JLjava/lang/Object;)V
21: aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/jfr/internal/consumer/ConstantMap;
0 22 1 id J
5 22 3 value Ljava/lang/Object;
15 22 4 resolved Ljava/lang/Object;
18 20 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=3, locals=4, args_size=1
start local 0 0: aload 0
instanceof jdk.jfr.internal.consumer.ConstantMap$Reference
ifeq 2
1: aload 0
checkcast jdk.jfr.internal.consumer.ConstantMap$Reference
invokevirtual jdk.jfr.internal.consumer.ConstantMap$Reference.resolve:()Ljava/lang/Object;
invokestatic jdk.jfr.internal.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 11
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 11
3: aload 0
checkcast java.lang.Object[]
astore 1
start local 1 4: iconst_0
istore 2
start local 2 5: goto 9
6: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 7: aload 1
iload 2
aload 3
invokestatic jdk.jfr.internal.consumer.ConstantMap.resolve:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
end local 3 8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 1
arraylength
if_icmplt 6
end local 2 10: aload 1
areturn
end local 1 11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 o Ljava/lang/Object;
4 11 1 array [Ljava/lang/Object;
5 10 2 i I
7 8 3 element Ljava/lang/Object;
MethodParameters:
Name Flags
o
public void resolve();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
aload 0
invokedynamic accept(Ljdk/jfr/internal/consumer/ConstantMap;)Ljava/util/function/LongConsumer;
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:
(J)V
jdk/jfr/internal/consumer/ConstantMap.lambda$0(J)V (7)
(J)V
invokevirtual jdk.jfr.internal.LongMap.forEachKey:(Ljava/util/function/LongConsumer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ConstantMap;
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.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
invokevirtual jdk.jfr.internal.LongMap.hasKey:(J)Z
ifeq 2
1: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
invokevirtual jdk.jfr.internal.LongMap.clearId:(J)V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
aload 3
invokevirtual jdk.jfr.internal.LongMap.put:(JLjava/lang/Object;)V
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/consumer/ConstantMap;
0 4 1 key J
0 4 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public void setResolving();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.jfr.internal.consumer.ConstantMap.resolving:Z
1: aload 0
iconst_0
putfield jdk.jfr.internal.consumer.ConstantMap.allResolved:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/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.internal.consumer.ConstantMap.allResolved:Z
1: aload 0
iconst_0
putfield jdk.jfr.internal.consumer.ConstantMap.resolving:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/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.internal.consumer.ConstantMap.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ConstantMap;
public java.lang.Object getResolved(long);
descriptor: (J)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
invokevirtual jdk.jfr.internal.LongMap.get:(J)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ConstantMap;
0 1 1 id J
MethodParameters:
Name Flags
id
public void putResolved(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.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
aload 3
invokevirtual jdk.jfr.internal.LongMap.put:(JLjava/lang/Object;)V
1: aload 0
getfield jdk.jfr.internal.consumer.ConstantMap.objects:Ljdk/jfr/internal/LongMap;
lload 1
iconst_0
invokevirtual jdk.jfr.internal.LongMap.setId:(JI)V
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/consumer/ConstantMap;
0 3 1 id J
0 3 3 object Ljava/lang/Object;
MethodParameters:
Name Flags
id
object
public void setAllResolved(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.consumer.ConstantMap.allResolved:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/ConstantMap;
0 2 1 allResolved Z
MethodParameters:
Name Flags
allResolved
private void lambda$0(long);
descriptor: (J)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual jdk.jfr.internal.consumer.ConstantMap.get:(J)Ljava/lang/Object;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ConstantMap;
0 1 1 k J
}
SourceFile: "ConstantMap.java"
NestMembers:
jdk.jfr.internal.consumer.ConstantMap$Reference
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final Reference = jdk.jfr.internal.consumer.ConstantMap$Reference of jdk.jfr.internal.consumer.ConstantMap