public class org.graalvm.compiler.lir.util.VariableVirtualStackValueMap<K extends jdk.vm.ci.meta.Value, T> extends org.graalvm.compiler.lir.util.ValueMap<K, T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.util.VariableVirtualStackValueMap
super_class: org.graalvm.compiler.lir.util.ValueMap
{
private final java.lang.Object[] variables;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object[] slots;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int, int);
descriptor: (II)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 org.graalvm.compiler.lir.util.ValueMap.<init>:()V
1: aload 0
iload 1
anewarray java.lang.Object
putfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.variables:[Ljava/lang/Object;
2: aload 0
iload 2
anewarray java.lang.Object
putfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.slots:[Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/util/VariableVirtualStackValueMap<TK;TT;>;
0 4 1 initialVariableCapacity I
0 4 2 initialStackSlotCapacity I
MethodParameters:
Name Flags
initialVariableCapacity
initialStackSlotCapacity
public T get();
descriptor: (Ljdk/vm/ci/meta/Value;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 2
1: aload 0
getfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.variables:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVariable:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/Variable;
getfield org.graalvm.compiler.lir.Variable.index:I
invokestatic org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.get:([Ljava/lang/Object;I)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVirtualStackSlot:(Ljdk/vm/ci/meta/Value;)Z
ifeq 4
3: aload 0
getfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.slots:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVirtualStackSlot:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/VirtualStackSlot;
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getId:()I
invokestatic org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.get:([Ljava/lang/Object;I)Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Unsupported Value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/util/VariableVirtualStackValueMap<TK;TT;>;
0 5 1 value TK;
Signature: (TK;)TT;
MethodParameters:
Name Flags
value
public void remove();
descriptor: (Ljdk/vm/ci/meta/Value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 3
1: aload 0
getfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.variables:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVariable:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/Variable;
getfield org.graalvm.compiler.lir.Variable.index:I
invokestatic org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.remove:([Ljava/lang/Object;I)V
2: goto 7
StackMap locals:
StackMap stack:
3: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVirtualStackSlot:(Ljdk/vm/ci/meta/Value;)Z
ifeq 6
4: aload 0
getfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.slots:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVirtualStackSlot:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/VirtualStackSlot;
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getId:()I
invokestatic org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.remove:([Ljava/lang/Object;I)V
5: goto 7
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Unsupported Value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/util/VariableVirtualStackValueMap<TK;TT;>;
0 8 1 value TK;
Signature: (TK;)V
MethodParameters:
Name Flags
value
public void put(K, );
descriptor: (Ljdk/vm/ci/meta/Value;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 3
1: aload 0
getfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.variables:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVariable:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/Variable;
getfield org.graalvm.compiler.lir.Variable.index:I
aload 2
invokestatic org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.put:([Ljava/lang/Object;ILjava/lang/Object;)[Ljava/lang/Object;
pop
2: goto 7
StackMap locals:
StackMap stack:
3: aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVirtualStackSlot:(Ljdk/vm/ci/meta/Value;)Z
ifeq 6
4: aload 0
getfield org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.slots:[Ljava/lang/Object;
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asVirtualStackSlot:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/VirtualStackSlot;
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getId:()I
aload 2
invokestatic org.graalvm.compiler.lir.util.VariableVirtualStackValueMap.put:([Ljava/lang/Object;ILjava/lang/Object;)[Ljava/lang/Object;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Unsupported Value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/util/VariableVirtualStackValueMap<TK;TT;>;
0 8 1 value TK;
0 8 2 object TT;
Signature: (TK;TT;)V
MethodParameters:
Name Flags
value
object
private static <T> T get([], );
descriptor: ([Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
arraylength
if_icmplt 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [Ljava/lang/Object;
0 3 1 index I
Signature: <T:Ljava/lang/Object;>([Ljava/lang/Object;I)TT;
MethodParameters:
Name Flags
array
index
private static void remove(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
arraylength
if_icmplt 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
aconst_null
aastore
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [Ljava/lang/Object;
0 4 1 index I
MethodParameters:
Name Flags
array
index
private static <T> [] put([], int, T);
descriptor: ([Ljava/lang/Object;ILjava/lang/Object;)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
arraylength
if_icmplt 5
1: iload 1
iconst_1
iadd
anewarray java.lang.Object
astore 3
start local 3 2: aload 0
iconst_0
aload 3
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 3
iload 1
aload 2
aastore
4: aload 3
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aastore
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [Ljava/lang/Object;
0 7 1 index I
0 7 2 object TT;
2 5 3 newArray [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([Ljava/lang/Object;ITT;)[Ljava/lang/Object;
MethodParameters:
Name Flags
array
index
object
}
Signature: <K:Ljdk/vm/ci/meta/Value;T:Ljava/lang/Object;>Lorg/graalvm/compiler/lir/util/ValueMap<TK;TT;>;
SourceFile: "VariableVirtualStackValueMap.java"