public class sun.jvm.hotspot.memory.HeapBlock extends sun.jvm.hotspot.runtime.VMObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.memory.HeapBlock
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static long heapBlockSize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.Field ;
descriptor: Lsun/jvm/hotspot/types/Field;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField ;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField ;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
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.memory.HeapBlock$1
dup
invokespecial sun.jvm.hotspot.memory.HeapBlock$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Ljava/util/Observer;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
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 "HeapBlock"
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
putstatic sun.jvm.hotspot.memory.HeapBlock.heapBlockSize:J
2: aload 1
ldc "_header"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
putstatic sun.jvm.hotspot.memory.HeapBlock.headerField:Lsun/jvm/hotspot/types/Field;
3: aload 0
ldc "HeapBlock::Header"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
4: aload 1
ldc "_length"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.memory.HeapBlock.headerLengthField:Lsun/jvm/hotspot/types/CIntegerField;
5: aload 1
ldc "_used"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.memory.HeapBlock.headerUsedField:Lsun/jvm/hotspot/types/CIntegerField;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 7 1 type Lsun/jvm/hotspot/types/Type;
MethodParameters:
Name Flags
db
public void <init>(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.runtime.VMObject.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/memory/HeapBlock;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public long getLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.memory.HeapBlock.getHeader:()Lsun/jvm/hotspot/memory/HeapBlock$Header;
invokevirtual sun.jvm.hotspot.memory.HeapBlock$Header.getLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/memory/HeapBlock;
public boolean isFree();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.memory.HeapBlock.getHeader:()Lsun/jvm/hotspot/memory/HeapBlock$Header;
invokevirtual sun.jvm.hotspot.memory.HeapBlock$Header.isFree:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/memory/HeapBlock;
public sun.jvm.hotspot.debugger.Address getAllocatedSpace();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.memory.HeapBlock.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.memory.HeapBlock.heapBlockSize:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/memory/HeapBlock;
private sun.jvm.hotspot.memory.HeapBlock$Header ();
descriptor: ()Lsun/jvm/hotspot/memory/HeapBlock$Header;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: ldc Lsun/jvm/hotspot/memory/HeapBlock$Header;
aload 0
getfield sun.jvm.hotspot.memory.HeapBlock.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.memory.HeapBlock.headerField:Lsun/jvm/hotspot/types/Field;
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.memory.HeapBlock$Header
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/memory/HeapBlock;
}
SourceFile: "HeapBlock.java"
NestMembers:
sun.jvm.hotspot.memory.HeapBlock$1 sun.jvm.hotspot.memory.HeapBlock$Header
InnerClasses:
sun.jvm.hotspot.memory.HeapBlock$1
public Header = sun.jvm.hotspot.memory.HeapBlock$Header of sun.jvm.hotspot.memory.HeapBlock