public class org.graalvm.compiler.debug.KeyRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.debug.KeyRegistry
super_class: java.lang.Object
{
private static final jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, java.lang.Integer> keyMap;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/Integer;>;
private static final java.util.List<org.graalvm.compiler.debug.AbstractKey> keys;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lorg/graalvm/compiler/debug/AbstractKey;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putstatic org.graalvm.compiler.debug.KeyRegistry.keyMap:Ljdk/internal/vm/compiler/collections/EconomicMap;
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic org.graalvm.compiler.debug.KeyRegistry.keys:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/KeyRegistry;
static synchronized int register(org.graalvm.compiler.debug.AbstractKey);
descriptor: (Lorg/graalvm/compiler/debug/AbstractKey;)I
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.debug.AbstractKey.getName:()Ljava/lang/String;
astore 1
start local 1 1: getstatic org.graalvm.compiler.debug.KeyRegistry.keyMap:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.containsKey:(Ljava/lang/Object;)Z
ifne 4
2: getstatic org.graalvm.compiler.debug.KeyRegistry.keyMap:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
getstatic org.graalvm.compiler.debug.KeyRegistry.keys:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic org.graalvm.compiler.debug.KeyRegistry.keys:Ljava/util/List;
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals: java.lang.String
StackMap stack:
getstatic org.graalvm.compiler.debug.KeyRegistry.keyMap:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Lorg/graalvm/compiler/debug/AbstractKey;
1 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
key
public static synchronized java.util.List<org.graalvm.compiler.debug.MetricKey> getKeys();
descriptor: ()Ljava/util/List;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=0, args_size=0
0: new java.util.ArrayList
dup
getstatic org.graalvm.compiler.debug.KeyRegistry.keys:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Lorg/graalvm/compiler/debug/MetricKey;>;
}
SourceFile: "KeyRegistry.java"