final class jdk.jfr.internal.consumer.ConstantLookup
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.ConstantLookup
super_class: java.lang.Object
{
private final jdk.jfr.internal.Type type;
descriptor: Ljdk/jfr/internal/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.jfr.internal.consumer.ConstantMap current;
descriptor: Ljdk/jfr/internal/consumer/ConstantMap;
flags: (0x0002) ACC_PRIVATE
private jdk.jfr.internal.consumer.ConstantMap previous;
descriptor: Ljdk/jfr/internal/consumer/ConstantMap;
flags: (0x0002) ACC_PRIVATE
void <init>(jdk.jfr.internal.consumer.ConstantMap, jdk.jfr.internal.Type);
descriptor: (Ljdk/jfr/internal/consumer/ConstantMap;Ljdk/jfr/internal/Type;)V
flags: (0x0000)
Code:
stack=2, 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
getstatic jdk.jfr.internal.consumer.ConstantMap.EMPTY:Ljdk/jfr/internal/consumer/ConstantMap;
putfield jdk.jfr.internal.consumer.ConstantLookup.previous:Ljdk/jfr/internal/consumer/ConstantMap;
2: aload 0
aload 1
putfield jdk.jfr.internal.consumer.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
3: aload 0
aload 2
putfield jdk.jfr.internal.consumer.ConstantLookup.type:Ljdk/jfr/internal/Type;
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/ConstantLookup;
0 5 1 current Ljdk/jfr/internal/consumer/ConstantMap;
0 5 2 type Ljdk/jfr/internal/Type;
MethodParameters:
Name Flags
current
type
public jdk.jfr.internal.Type getType();
descriptor: ()Ljdk/jfr/internal/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ConstantLookup.type:Ljdk/jfr/internal/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ConstantLookup;
public jdk.jfr.internal.consumer.ConstantMap getLatestPool();
descriptor: ()Ljdk/jfr/internal/consumer/ConstantMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/ConstantLookup;
public void newPool();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.jfr.internal.consumer.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
putfield jdk.jfr.internal.consumer.ConstantLookup.previous:Ljdk/jfr/internal/consumer/ConstantMap;
1: aload 0
new jdk.jfr.internal.consumer.ConstantMap
dup
aload 0
getfield jdk.jfr.internal.consumer.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
getfield jdk.jfr.internal.consumer.ConstantMap.factory:Ljdk/jfr/internal/consumer/ObjectFactory;
aload 0
getfield jdk.jfr.internal.consumer.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
getfield jdk.jfr.internal.consumer.ConstantMap.name:Ljava/lang/String;
invokespecial jdk.jfr.internal.consumer.ConstantMap.<init>:(Ljdk/jfr/internal/consumer/ObjectFactory;Ljava/lang/String;)V
putfield jdk.jfr.internal.consumer.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/consumer/ConstantLookup;
public java.lang.Object getPreviousResolved(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.ConstantLookup.previous:Ljdk/jfr/internal/consumer/ConstantMap;
lload 1
invokevirtual jdk.jfr.internal.consumer.ConstantMap.getResolved:(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/ConstantLookup;
0 1 1 key J
MethodParameters:
Name Flags
key
public java.lang.Object getCurrentResolved(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.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
lload 1
invokevirtual jdk.jfr.internal.consumer.ConstantMap.getResolved:(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/ConstantLookup;
0 1 1 key J
MethodParameters:
Name Flags
key
public java.lang.Object getCurrent(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.ConstantLookup.current:Ljdk/jfr/internal/consumer/ConstantMap;
lload 1
invokevirtual jdk.jfr.internal.consumer.ConstantMap.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/ConstantLookup;
0 1 1 key J
MethodParameters:
Name Flags
key
}
SourceFile: "ConstantLookup.java"