public class org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig
super_class: java.lang.Object
{
public static final java.lang.String ALL_REGISTERS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<all>"
protected final jdk.vm.ci.code.RegisterConfig registerConfig;
descriptor: Ljdk/vm/ci/code/RegisterConfig;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final jdk.internal.vm.compiler.collections.EconomicMap<jdk.vm.ci.meta.PlatformKind$Key, org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters> categorized;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljdk/vm/ci/meta/PlatformKind$Key;Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig$AllocatableRegisters;>;
private final java.lang.String[] allocationRestrictedTo;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.vm.ci.code.RegisterArray cachedRegisters;
descriptor: Ljdk/vm/ci/code/RegisterArray;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private static jdk.vm.ci.code.Register findRegister(java.lang.String, jdk.vm.ci.code.RegisterArray);
descriptor: (Ljava/lang/String;Ljdk/vm/ci/code/RegisterArray;)Ljdk/vm/ci/code/Register;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.vm.ci.code.RegisterArray.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.lang.String jdk.vm.ci.code.RegisterArray top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.Register
astore 2
start local 2 2: aload 2
getfield jdk.vm.ci.code.Register.name:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "register "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is not allocatable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 all Ljdk/vm/ci/code/RegisterArray;
2 4 2 reg Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
name
all
protected jdk.vm.ci.code.RegisterArray initAllocatable(jdk.vm.ci.code.RegisterArray);
descriptor: (Ljdk/vm/ci/code/RegisterArray;)Ljdk/vm/ci/code/RegisterArray;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.allocationRestrictedTo:[Ljava/lang/String;
ifnull 8
1: aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.allocationRestrictedTo:[Ljava/lang/String;
arraylength
anewarray jdk.vm.ci.code.Register
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: jdk.vm.ci.code.Register[] int
StackMap stack:
aload 2
iload 3
aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.allocationRestrictedTo:[Ljava/lang/String;
iload 3
aaload
aload 1
invokestatic org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.findRegister:(Ljava/lang/String;Ljdk/vm/ci/code/RegisterArray;)Ljdk/vm/ci/code/Register;
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.allocationRestrictedTo:[Ljava/lang/String;
arraylength
if_icmplt 4
end local 3 7: new jdk.vm.ci.code.RegisterArray
dup
aload 2
invokespecial jdk.vm.ci.code.RegisterArray.<init>:([Ljdk/vm/ci/code/Register;)V
areturn
end local 2 8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
0 9 1 registers Ljdk/vm/ci/code/RegisterArray;
2 8 2 regs [Ljdk/vm/ci/code/Register;
3 7 3 i I
MethodParameters:
Name Flags
registers
public void <init>(jdk.vm.ci.code.RegisterConfig, java.lang.String[]);
descriptor: (Ljdk/vm/ci/code/RegisterConfig;[Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
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.internal.vm.compiler.collections.Equivalence.DEFAULT:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.categorized:Ljdk/internal/vm/compiler/collections/EconomicMap;
2: getstatic org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig jdk.vm.ci.code.RegisterConfig java.lang.String[]
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.registerConfig:Ljdk/vm/ci/code/RegisterConfig;
4: aload 0
aload 2
putfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.allocationRestrictedTo:[Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
0 6 1 registerConfig Ljdk/vm/ci/code/RegisterConfig;
0 6 2 allocationRestrictedTo [Ljava/lang/String;
MethodParameters:
Name Flags
registerConfig
allocationRestrictedTo
public org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters getAllocatableRegisters(jdk.vm.ci.meta.PlatformKind);
descriptor: (Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig$AllocatableRegisters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.vm.ci.meta.PlatformKind.getKey:()Ljdk/vm/ci/meta/PlatformKind$Key;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.categorized:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.containsKey:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.categorized:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters
astore 3
start local 3 3: aload 3
areturn
end local 3 4: StackMap locals: jdk.vm.ci.meta.PlatformKind$Key
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.registerConfig:Ljdk/vm/ci/code/RegisterConfig;
aload 1
aload 0
invokevirtual org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.getAllocatableRegisters:()Ljdk/vm/ci/code/RegisterArray;
invokeinterface jdk.vm.ci.code.RegisterConfig.filterAllocatableRegisters:(Ljdk/vm/ci/meta/PlatformKind;Ljdk/vm/ci/code/RegisterArray;)Ljdk/vm/ci/code/RegisterArray;
invokevirtual org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.createAllocatableRegisters:(Ljdk/vm/ci/code/RegisterArray;)Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig$AllocatableRegisters;
astore 3
start local 3 5: aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.categorized:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 2
aload 3
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
0 7 1 kind Ljdk/vm/ci/meta/PlatformKind;
1 7 2 key Ljdk/vm/ci/meta/PlatformKind$Key;
3 4 3 val Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig$AllocatableRegisters;
5 7 3 ret Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig$AllocatableRegisters;
MethodParameters:
Name Flags
kind
public jdk.vm.ci.code.Register$RegisterCategory getRegisterCategory(jdk.vm.ci.meta.PlatformKind);
descriptor: (Ljdk/vm/ci/meta/PlatformKind;)Ljdk/vm/ci/code/Register$RegisterCategory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.getAllocatableRegisters:(Ljdk/vm/ci/meta/PlatformKind;)Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig$AllocatableRegisters;
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters.allocatableRegisters:[Ljdk/vm/ci/code/Register;
iconst_0
aaload
invokevirtual jdk.vm.ci.code.Register.getRegisterCategory:()Ljdk/vm/ci/code/Register$RegisterCategory;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
0 1 1 kind Ljdk/vm/ci/meta/PlatformKind;
MethodParameters:
Name Flags
kind
protected org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters createAllocatableRegisters(jdk.vm.ci.code.RegisterArray);
descriptor: (Ljdk/vm/ci/code/RegisterArray;)Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig$AllocatableRegisters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: ldc 2147483647
istore 2
start local 2 1: ldc -2147483648
istore 3
start local 3 2: aload 1
invokevirtual jdk.vm.ci.code.RegisterArray.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig jdk.vm.ci.code.RegisterArray int int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.Register
astore 4
start local 4 4: aload 4
getfield jdk.vm.ci.code.Register.number:I
istore 6
start local 6 5: iload 6
iload 2
if_icmpge 7
6: iload 6
istore 2
7: StackMap locals: org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig jdk.vm.ci.code.RegisterArray int int jdk.vm.ci.code.Register java.util.Iterator int
StackMap stack:
iload 6
iload 3
if_icmple 9
8: iload 6
istore 3
end local 6 end local 4 9: StackMap locals: org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig jdk.vm.ci.code.RegisterArray int int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: getstatic org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.$assertionsDisabled:Z
ifne 11
iload 2
iload 3
if_icmplt 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig jdk.vm.ci.code.RegisterArray int int
StackMap stack:
new org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters
dup
aload 1
iload 2
iload 3
invokespecial org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters.<init>:(Ljdk/vm/ci/code/RegisterArray;II)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
0 12 1 registers Ljdk/vm/ci/code/RegisterArray;
1 12 2 min I
2 12 3 max I
4 9 4 reg Ljdk/vm/ci/code/Register;
5 9 6 number I
MethodParameters:
Name Flags
registers
public jdk.vm.ci.code.RegisterArray getAllocatableRegisters();
descriptor: ()Ljdk/vm/ci/code/RegisterArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.cachedRegisters:Ljdk/vm/ci/code/RegisterArray;
ifnonnull 2
1: aload 0
aload 0
aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.registerConfig:Ljdk/vm/ci/code/RegisterConfig;
invokeinterface jdk.vm.ci.code.RegisterConfig.getAllocatableRegisters:()Ljdk/vm/ci/code/RegisterArray;
invokevirtual org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.initAllocatable:(Ljdk/vm/ci/code/RegisterArray;)Ljdk/vm/ci/code/RegisterArray;
putfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.cachedRegisters:Ljdk/vm/ci/code/RegisterArray;
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.cachedRegisters:Ljdk/vm/ci/code/RegisterArray;
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.cachedRegisters:Ljdk/vm/ci/code/RegisterArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
public jdk.vm.ci.code.RegisterConfig getRegisterConfig();
descriptor: ()Ljdk/vm/ci/code/RegisterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig.registerConfig:Ljdk/vm/ci/code/RegisterConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
}
SourceFile: "RegisterAllocationConfig.java"
NestMembers:
org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters
InnerClasses:
public RegisterCategory = jdk.vm.ci.code.Register$RegisterCategory of jdk.vm.ci.code.Register
public abstract Key = jdk.vm.ci.meta.PlatformKind$Key of jdk.vm.ci.meta.PlatformKind
public final AllocatableRegisters = org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig$AllocatableRegisters of org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig