public class sun.jvm.hotspot.oops.Array extends sun.jvm.hotspot.oops.Oop
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.oops.Array
super_class: sun.jvm.hotspot.oops.Oop
{
private static long ;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long lengthOffsetInBytes;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long typeSize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.jvm.hotspot.oops.Array$1
dup
invokespecial sun.jvm.hotspot.oops.Array$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Ljava/util/Observer;)V
1: lconst_0
putstatic sun.jvm.hotspot.oops.Array.headerSize:J
2: lconst_0
putstatic sun.jvm.hotspot.oops.Array.lengthOffsetInBytes:J
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.jvm.hotspot.debugger.OopHandle, sun.jvm.hotspot.oops.ObjectHeap);
descriptor: (Lsun/jvm/hotspot/debugger/OopHandle;Lsun/jvm/hotspot/oops/ObjectHeap;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.jvm.hotspot.oops.Oop.<init>:(Lsun/jvm/hotspot/debugger/OopHandle;Lsun/jvm/hotspot/oops/ObjectHeap;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/Array;
0 2 1 handle Lsun/jvm/hotspot/debugger/OopHandle;
0 2 2 heap Lsun/jvm/hotspot/oops/ObjectHeap;
MethodParameters:
Name Flags
handle
heap
private static void initialize(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "arrayOopDesc"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
l2i
i2l
putstatic sun.jvm.hotspot.oops.Array.typeSize:J
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
private static long ();
descriptor: ()J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: getstatic sun.jvm.hotspot.oops.Array.headerSize:J
lconst_0
lcmp
ifeq 2
1: getstatic sun.jvm.hotspot.oops.Array.headerSize:J
lreturn
2: StackMap locals:
StackMap stack:
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.isCompressedKlassPointersEnabled:()Z
ifeq 5
3: getstatic sun.jvm.hotspot.oops.Array.typeSize:J
putstatic sun.jvm.hotspot.oops.Array.headerSize:J
4: goto 8
5: StackMap locals:
StackMap stack:
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
getstatic sun.jvm.hotspot.oops.Array.typeSize:J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getIntSize:()J
ladd
6: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getHeapWordSize:()I
i2l
7: invokevirtual sun.jvm.hotspot.runtime.VM.alignUp:(JJ)J
putstatic sun.jvm.hotspot.oops.Array.headerSize:J
8: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.oops.Array.headerSize:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
private static long (sun.jvm.hotspot.runtime.BasicType);
descriptor: (Lsun/jvm/hotspot/runtime/BasicType;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.jvm.hotspot.memory.Universe.elementTypeShouldBeAligned:(Lsun/jvm/hotspot/runtime/BasicType;)Z
ifeq 2
1: invokestatic sun.jvm.hotspot.oops.Array.headerSizeInBytes:()J
invokestatic sun.jvm.hotspot.oops.Array.alignObjectSize:(J)J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getHeapWordSize:()I
i2l
ldiv
lreturn
2: StackMap locals:
StackMap stack:
invokestatic sun.jvm.hotspot.oops.Array.headerSizeInBytes:()J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getHeapWordSize:()I
i2l
ldiv
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Lsun/jvm/hotspot/runtime/BasicType;
MethodParameters:
Name Flags
type
private long lengthOffsetInBytes();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.oops.Array.lengthOffsetInBytes:J
lconst_0
lcmp
ifeq 2
1: getstatic sun.jvm.hotspot.oops.Array.lengthOffsetInBytes:J
lreturn
2: StackMap locals:
StackMap stack:
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.isCompressedKlassPointersEnabled:()Z
ifeq 5
3: getstatic sun.jvm.hotspot.oops.Array.typeSize:J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getIntSize:()J
lsub
putstatic sun.jvm.hotspot.oops.Array.lengthOffsetInBytes:J
4: goto 6
5: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.oops.Array.typeSize:J
putstatic sun.jvm.hotspot.oops.Array.lengthOffsetInBytes:J
6: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.oops.Array.lengthOffsetInBytes:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/oops/Array;
public long getLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
invokevirtual sun.jvm.hotspot.oops.Array.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
aload 0
invokevirtual sun.jvm.hotspot.oops.Array.lengthOffsetInBytes:()J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getIntSize:()J
iload 1
invokeinterface sun.jvm.hotspot.debugger.OopHandle.getCIntegerAt:(JJZ)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/Array;
1 2 1 isUnsigned Z
public long getObjectSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.oops.Array.getKlass:()Lsun/jvm/hotspot/oops/Klass;
checkcast sun.jvm.hotspot.oops.ArrayKlass
astore 1
start local 1 1: aload 0
invokevirtual sun.jvm.hotspot.oops.Array.getLength:()J
aload 1
invokevirtual sun.jvm.hotspot.oops.ArrayKlass.getLog2ElementSize:()I
lshl
lstore 2
start local 2 2: lload 2
aload 1
invokevirtual sun.jvm.hotspot.oops.ArrayKlass.getArrayHeaderInBytes:()J
ladd
lstore 2
3: lload 2
invokestatic sun.jvm.hotspot.oops.Oop.alignObjectSize:(J)J
lstore 2
4: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/oops/Array;
1 5 1 klass Lsun/jvm/hotspot/oops/ArrayKlass;
2 5 2 s J
public static long baseOffsetInBytes(sun.jvm.hotspot.runtime.BasicType);
descriptor: (Lsun/jvm/hotspot/runtime/BasicType;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.jvm.hotspot.oops.Array.headerSize:(Lsun/jvm/hotspot/runtime/BasicType;)J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getHeapWordSize:()I
i2l
lmul
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Lsun/jvm/hotspot/runtime/BasicType;
MethodParameters:
Name Flags
type
public boolean isArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Array;
public void iterateFields(sun.jvm.hotspot.oops.OopVisitor, boolean);
descriptor: (Lsun/jvm/hotspot/oops/OopVisitor;Z)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
aload 1
iload 2
invokespecial sun.jvm.hotspot.oops.Oop.iterateFields:(Lsun/jvm/hotspot/oops/OopVisitor;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/Array;
0 2 1 visitor Lsun/jvm/hotspot/oops/OopVisitor;
0 2 2 doVMFields Z
MethodParameters:
Name Flags
visitor
doVMFields
}
SourceFile: "Array.java"
NestMembers:
sun.jvm.hotspot.oops.Array$1
InnerClasses:
sun.jvm.hotspot.oops.Array$1