public class sun.jvm.hotspot.gc.g1.HeapRegion extends sun.jvm.hotspot.gc.shared.CompactibleSpace implements sun.jvm.hotspot.gc.shared.LiveRegionsProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.gc.g1.HeapRegion
super_class: sun.jvm.hotspot.gc.shared.CompactibleSpace
{
private static sun.jvm.hotspot.types.AddressField bottomField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField topField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField endField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField compactionTopField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField grainBytesField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long typeFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long pointerSize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private sun.jvm.hotspot.gc.g1.HeapRegionType type;
descriptor: Lsun/jvm/hotspot/gc/g1/HeapRegionType;
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.gc.g1.HeapRegion$1
dup
invokespecial sun.jvm.hotspot.gc.g1.HeapRegion$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Lsun/jvm/hotspot/utilities/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=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "HeapRegion"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_bottom"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.g1.HeapRegion.bottomField:Lsun/jvm/hotspot/types/AddressField;
2: aload 1
ldc "_top"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.g1.HeapRegion.topField:Lsun/jvm/hotspot/types/AddressField;
3: aload 1
ldc "_end"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.g1.HeapRegion.endField:Lsun/jvm/hotspot/types/AddressField;
4: aload 1
ldc "_compaction_top"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.g1.HeapRegion.compactionTopField:Lsun/jvm/hotspot/types/AddressField;
5: aload 1
ldc "GrainBytes"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.gc.g1.HeapRegion.grainBytesField:Lsun/jvm/hotspot/types/CIntegerField;
6: aload 1
ldc "_type"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
putstatic sun.jvm.hotspot.gc.g1.HeapRegion.typeFieldOffset:J
7: aload 0
ldc "HeapRegion*"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putstatic sun.jvm.hotspot.gc.g1.HeapRegion.pointerSize:J
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 9 1 type Lsun/jvm/hotspot/types/Type;
MethodParameters:
Name Flags
db
public static long grainBytes();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.jvm.hotspot.gc.g1.HeapRegion.grainBytesField:Lsun/jvm/hotspot/types/CIntegerField;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.gc.shared.CompactibleSpace.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
1: aload 1
instanceof sun.jvm.hotspot.debugger.OopHandle
ifeq 2
aload 1
getstatic sun.jvm.hotspot.gc.g1.HeapRegion.typeFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetToAsOopHandle:(J)Lsun/jvm/hotspot/debugger/OopHandle;
goto 3
2: StackMap locals: sun.jvm.hotspot.gc.g1.HeapRegion sun.jvm.hotspot.debugger.Address
StackMap stack:
aload 1
getstatic sun.jvm.hotspot.gc.g1.HeapRegion.typeFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
3: StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.Address
astore 2
start local 2 4: aload 0
ldc Lsun/jvm/hotspot/gc/g1/HeapRegionType;
aload 2
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.HeapRegionType
putfield sun.jvm.hotspot.gc.g1.HeapRegion.type:Lsun/jvm/hotspot/gc/g1/HeapRegionType;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
0 6 1 addr Lsun/jvm/hotspot/debugger/Address;
4 6 2 typeAddr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.debugger.Address bottom();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.g1.HeapRegion.bottomField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public sun.jvm.hotspot.debugger.Address top();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.g1.HeapRegion.topField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public sun.jvm.hotspot.debugger.Address end();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.g1.HeapRegion.endField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public sun.jvm.hotspot.debugger.Address compactionTop();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.g1.HeapRegion.compactionTopField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public java.util.List<sun.jvm.hotspot.memory.MemRegion> getLiveRegions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
new sun.jvm.hotspot.memory.MemRegion
dup
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.bottom:()Lsun/jvm/hotspot/debugger/Address;
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.top:()Lsun/jvm/hotspot/debugger/Address;
invokespecial sun.jvm.hotspot.memory.MemRegion.<init>:(Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/Address;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
1 3 1 res Ljava/util/List<Lsun/jvm/hotspot/memory/MemRegion;>;
Signature: ()Ljava/util/List<Lsun/jvm/hotspot/memory/MemRegion;>;
public sun.jvm.hotspot.memory.MemRegion usedRegion();
descriptor: ()Lsun/jvm/hotspot/memory/MemRegion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new sun.jvm.hotspot.memory.MemRegion
dup
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.bottom:()Lsun/jvm/hotspot/debugger/Address;
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.end:()Lsun/jvm/hotspot/debugger/Address;
invokespecial sun.jvm.hotspot.memory.MemRegion.<init>:(Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public long used();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.top:()Lsun/jvm/hotspot/debugger/Address;
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.bottom:()Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.debugger.Address.minus:(Lsun/jvm/hotspot/debugger/Address;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public long free();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.end:()Lsun/jvm/hotspot/debugger/Address;
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.top:()Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.debugger.Address.minus:(Lsun/jvm/hotspot/debugger/Address;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public boolean isFree();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.type:Lsun/jvm/hotspot/gc/g1/HeapRegionType;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionType.isFree:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public boolean isYoung();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.type:Lsun/jvm/hotspot/gc/g1/HeapRegionType;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionType.isYoung:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public boolean isHumongous();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.type:Lsun/jvm/hotspot/gc/g1/HeapRegionType;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionType.isHumongous:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public boolean isPinned();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.type:Lsun/jvm/hotspot/gc/g1/HeapRegionType;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionType.isPinned:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public boolean isOld();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.type:Lsun/jvm/hotspot/gc/g1/HeapRegionType;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionType.isOld:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
public static long getPointerSize();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.jvm.hotspot.gc.g1.HeapRegion.pointerSize:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new java.lang.StringBuilder
dup
ldc "Region: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.bottom:()Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.top:()Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegion.end:()Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: aload 1
new java.lang.StringBuilder
dup
ldc ":"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.gc.g1.HeapRegion.type:Lsun/jvm/hotspot/gc/g1/HeapRegionType;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionType.typeAnnotation:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/gc/g1/HeapRegion;
0 3 1 tty Ljava/io/PrintStream;
MethodParameters:
Name Flags
tty
}
SourceFile: "HeapRegion.java"
NestMembers:
sun.jvm.hotspot.gc.g1.HeapRegion$1
InnerClasses:
sun.jvm.hotspot.gc.g1.HeapRegion$1