public class org.graalvm.compiler.core.common.util.ArrayMap<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.common.util.ArrayMap
super_class: java.lang.Object
{
private static final int INITIAL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
java.lang.Object[] map;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
int low;
descriptor: I
flags: (0x0000)
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/util/ArrayMap<TT;>;
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
iload 1
putfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
2: aload 0
iload 2
iload 1
isub
iconst_1
iadd
anewarray java.lang.Object
putfield org.graalvm.compiler.core.common.util.ArrayMap.map:[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/core/common/util/ArrayMap<TT;>;
0 4 1 low I
0 4 2 high I
MethodParameters:
Name Flags
low
high
public void put(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
isub
istore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
ifnonnull 6
2: aload 0
iconst_5
anewarray java.lang.Object
putfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
3: aload 0
iload 3
iconst_2
isub
putfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
4: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
iconst_2
aload 2
aastore
5: goto 13
StackMap locals: int
StackMap stack:
6: iload 3
ifge 9
7: aload 0
iload 1
aload 2
invokevirtual org.graalvm.compiler.core.common.util.ArrayMap.growBackward:(ILjava/lang/Object;)V
8: goto 13
StackMap locals:
StackMap stack:
9: iload 3
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
arraylength
if_icmplt 12
10: aload 0
iload 1
aload 2
invokevirtual org.graalvm.compiler.core.common.util.ArrayMap.growForward:(ILjava/lang/Object;)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
iload 3
aload 2
aastore
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/core/common/util/ArrayMap<TT;>;
0 14 1 i I
0 14 2 value TT;
1 14 3 index I
Signature: (ITT;)V
MethodParameters:
Name Flags
i
value
public T get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
isub
istore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
ifnull 2
iload 2
iflt 2
iload 2
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
arraylength
if_icmplt 3
2: StackMap locals: int
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 4: aload 3
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
iload 2
aaload
invokestatic org.graalvm.compiler.core.common.util.Util.uncheckedCast:(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/common/util/ArrayMap<TT;>;
0 5 1 i I
1 5 2 index I
4 5 3 type Ljava/lang/Class<TT;>;
Signature: (I)TT;
MethodParameters:
Name Flags
i
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/util/ArrayMap<TT;>;
private void growBackward(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_2
isub
istore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
iload 3
isub
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
arraylength
iadd
anewarray java.lang.Object
astore 4
start local 4 2: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
iconst_0
aload 4
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
iload 3
isub
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 4
putfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
4: aload 0
iload 3
putfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
5: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
iload 1
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
isub
aload 2
aastore
6: return
end local 4 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/util/ArrayMap<TT;>;
0 7 1 i I
0 7 2 value TT;
1 7 3 nlow I
2 7 4 nmap [Ljava/lang/Object;
Signature: (ITT;)V
MethodParameters:
Name Flags
i
value
private void growForward(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
isub
iconst_1
iadd
iconst_2
iadd
istore 3
start local 3 1: iload 3
anewarray java.lang.Object
astore 4
start local 4 2: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
iconst_0
aload 4
iconst_0
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 4
putfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
4: aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.map:[Ljava/lang/Object;
iload 1
aload 0
getfield org.graalvm.compiler.core.common.util.ArrayMap.low:I
isub
aload 2
aastore
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/common/util/ArrayMap<TT;>;
0 6 1 i I
0 6 2 value TT;
1 6 3 nlen I
2 6 4 nmap [Ljava/lang/Object;
Signature: (ITT;)V
MethodParameters:
Name Flags
i
value
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ArrayMap.java"