public abstract class sun.jvm.hotspot.utilities.GenericArray extends sun.jvm.hotspot.runtime.VMObject
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.jvm.hotspot.utilities.GenericArray
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static long sizeOfArray;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.oops.CIntField lengthField;
descriptor: Lsun/jvm/hotspot/oops/CIntField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private long dataFieldOffset;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.jvm.hotspot.utilities.GenericArray$1
dup
invokespecial sun.jvm.hotspot.utilities.GenericArray$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Ljava/util/Observer;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized void initialize(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "Array<int>"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: new sun.jvm.hotspot.oops.CIntField
dup
aload 1
ldc "_length"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
lconst_0
invokespecial sun.jvm.hotspot.oops.CIntField.<init>:(Lsun/jvm/hotspot/types/CIntegerField;J)V
putstatic sun.jvm.hotspot.utilities.GenericArray.lengthField:Lsun/jvm/hotspot/oops/CIntField;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 3 1 type Lsun/jvm/hotspot/types/Type;
Exceptions:
throws sun.jvm.hotspot.types.WrongTypeException
MethodParameters:
Name Flags
db
public void <init>(sun.jvm.hotspot.debugger.Address, long);
descriptor: (Lsun/jvm/hotspot/debugger/Address;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.runtime.VMObject.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
1: aload 0
lload 2
putfield sun.jvm.hotspot.utilities.GenericArray.dataFieldOffset:J
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/utilities/GenericArray;
0 3 1 addr Lsun/jvm/hotspot/debugger/Address;
0 3 2 dataOffset J
MethodParameters:
Name Flags
addr
dataOffset
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.utilities.GenericArray.lengthField:Lsun/jvm/hotspot/oops/CIntField;
aload 0
invokevirtual sun.jvm.hotspot.oops.CIntField.getValue:(Lsun/jvm/hotspot/runtime/VMObject;)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/GenericArray;
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.length:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/GenericArray;
protected long getIntegerAt(int);
descriptor: (I)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.length:()I
if_icmplt 2
StackMap locals:
StackMap stack:
1: new java.lang.ArrayIndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.getElemType:()Lsun/jvm/hotspot/types/Type;
astore 2
start local 2 3: aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.getElemType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.isCIntegerType:()Z
ifne 4
new java.lang.RuntimeException
dup
ldc "elemType must be of CInteger type"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: sun.jvm.hotspot.types.Type
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.getAddress:()Lsun/jvm/hotspot/debugger/Address;
aload 0
getfield sun.jvm.hotspot.utilities.GenericArray.dataFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 3
start local 3 5: aload 2
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
lstore 4
start local 4 6: aload 3
iload 1
i2l
lload 4
lmul
lload 4
iconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.getCIntegerAt:(JJZ)J
lreturn
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 Lsun/jvm/hotspot/utilities/GenericArray;
0 7 1 index I
3 7 2 elemType Lsun/jvm/hotspot/types/Type;
5 7 3 data Lsun/jvm/hotspot/debugger/Address;
6 7 4 elemSize J
MethodParameters:
Name Flags
index
protected sun.jvm.hotspot.debugger.Address getAddressAt(int);
descriptor: (I)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.length:()I
if_icmplt 2
StackMap locals:
StackMap stack:
1: new java.lang.ArrayIndexOutOfBoundsException
dup
iload 1
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(I)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.getElemType:()Lsun/jvm/hotspot/types/Type;
astore 2
start local 2 3: aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.getElemType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.isCIntegerType:()Z
ifeq 4
new java.lang.RuntimeException
dup
ldc "elemType must not be of CInteger type"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: sun.jvm.hotspot.types.Type
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.getAddress:()Lsun/jvm/hotspot/debugger/Address;
aload 0
getfield sun.jvm.hotspot.utilities.GenericArray.dataFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 3
start local 3 5: aload 2
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
lstore 4
start local 4 6: aload 3
iload 1
i2l
lload 4
lmul
invokeinterface sun.jvm.hotspot.debugger.Address.getAddressAt:(J)Lsun/jvm/hotspot/debugger/Address;
areturn
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 Lsun/jvm/hotspot/utilities/GenericArray;
0 7 1 index I
3 7 2 elemType Lsun/jvm/hotspot/types/Type;
5 7 3 data Lsun/jvm/hotspot/debugger/Address;
6 7 4 elemSize J
MethodParameters:
Name Flags
index
private long byteSizeof(int);
descriptor: (I)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.jvm.hotspot.utilities.GenericArray.sizeOfArray:J
iload 1
i2l
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.getElemType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
lmul
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/GenericArray;
0 1 1 length I
MethodParameters:
Name Flags
length
public long getSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
aload 0
aload 0
invokevirtual sun.jvm.hotspot.utilities.GenericArray.length:()I
invokevirtual sun.jvm.hotspot.utilities.GenericArray.byteSizeof:(I)J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getBytesPerWord:()I
i2l
invokevirtual sun.jvm.hotspot.runtime.VM.alignUp:(JJ)J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getBytesPerWord:()I
i2l
ldiv
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/utilities/GenericArray;
public abstract sun.jvm.hotspot.types.Type getElemType();
descriptor: ()Lsun/jvm/hotspot/types/Type;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "GenericArray.java"
NestMembers:
sun.jvm.hotspot.utilities.GenericArray$1
InnerClasses:
sun.jvm.hotspot.utilities.GenericArray$1