public class sun.jvm.hotspot.gc.g1.G1CollectedHeap extends sun.jvm.hotspot.gc.shared.CollectedHeap
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.gc.g1.G1CollectedHeap
super_class: sun.jvm.hotspot.gc.shared.CollectedHeap
{
private static sun.jvm.hotspot.types.AddressField hrmField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long g1ReservedFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField summaryBytesUsedField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField g1mmField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long oldSetFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long archiveSetFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long humongousSetFieldOffset;
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.gc.g1.G1CollectedHeap$1
dup
invokespecial sun.jvm.hotspot.gc.g1.G1CollectedHeap$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=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "G1CollectedHeap"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_hrm"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.hrmField:Lsun/jvm/hotspot/types/AddressField;
2: aload 1
ldc "_summary_bytes_used"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.summaryBytesUsedField:Lsun/jvm/hotspot/types/CIntegerField;
3: aload 1
ldc "_g1mm"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.g1mmField:Lsun/jvm/hotspot/types/AddressField;
4: aload 1
ldc "_old_set"
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.G1CollectedHeap.oldSetFieldOffset:J
5: aload 1
ldc "_archive_set"
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.G1CollectedHeap.archiveSetFieldOffset:J
6: aload 1
ldc "_humongous_set"
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.G1CollectedHeap.humongousSetFieldOffset:J
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 8 1 type Lsun/jvm/hotspot/types/Type;
MethodParameters:
Name Flags
db
public long capacity();
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.G1CollectedHeap.hrm:()Lsun/jvm/hotspot/gc/g1/HeapRegionManager;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionManager.capacity:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
public long used();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.summaryBytesUsedField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.gc.g1.G1CollectedHeap.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(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/G1CollectedHeap;
public long n_regions();
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.G1CollectedHeap.hrm:()Lsun/jvm/hotspot/gc/g1/HeapRegionManager;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionManager.length:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
public sun.jvm.hotspot.gc.g1.HeapRegionManager hrm();
descriptor: ()Lsun/jvm/hotspot/gc/g1/HeapRegionManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.hrmField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.g1.G1CollectedHeap.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: ldc Lsun/jvm/hotspot/gc/g1/HeapRegionManager;
2: aload 1
3: invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.HeapRegionManager
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
1 4 1 hrmAddr Lsun/jvm/hotspot/debugger/Address;
public sun.jvm.hotspot.gc.g1.G1MonitoringSupport g1mm();
descriptor: ()Lsun/jvm/hotspot/gc/g1/G1MonitoringSupport;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.g1mmField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.g1.G1CollectedHeap.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: ldc Lsun/jvm/hotspot/gc/g1/G1MonitoringSupport;
aload 1
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.G1MonitoringSupport
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
1 2 1 g1mmAddr Lsun/jvm/hotspot/debugger/Address;
public sun.jvm.hotspot.gc.g1.HeapRegionSetBase oldSet();
descriptor: ()Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.G1CollectedHeap.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.oldSetFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: ldc Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
2: aload 1
3: invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.HeapRegionSetBase
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
1 4 1 oldSetAddr Lsun/jvm/hotspot/debugger/Address;
public sun.jvm.hotspot.gc.g1.HeapRegionSetBase archiveSet();
descriptor: ()Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.G1CollectedHeap.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.archiveSetFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: ldc Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
2: aload 1
3: invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.HeapRegionSetBase
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
1 4 1 archiveSetAddr Lsun/jvm/hotspot/debugger/Address;
public sun.jvm.hotspot.gc.g1.HeapRegionSetBase humongousSet();
descriptor: ()Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.g1.G1CollectedHeap.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.gc.g1.G1CollectedHeap.humongousSetFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: ldc Lsun/jvm/hotspot/gc/g1/HeapRegionSetBase;
2: aload 1
3: invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.HeapRegionSetBase
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
1 4 1 humongousSetAddr Lsun/jvm/hotspot/debugger/Address;
private java.util.Iterator<sun.jvm.hotspot.gc.g1.HeapRegion> heapRegionIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.hrm:()Lsun/jvm/hotspot/gc/g1/HeapRegionManager;
invokevirtual sun.jvm.hotspot.gc.g1.HeapRegionManager.heapRegionIterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
Signature: ()Ljava/util/Iterator<Lsun/jvm/hotspot/gc/g1/HeapRegion;>;
public void heapRegionIterate(sun.jvm.hotspot.gc.shared.SpaceClosure);
descriptor: (Lsun/jvm/hotspot/gc/shared/SpaceClosure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.heapRegionIterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.HeapRegion
astore 3
start local 3 3: aload 1
aload 3
invokeinterface sun.jvm.hotspot.gc.shared.SpaceClosure.doSpace:(Lsun/jvm/hotspot/gc/shared/Space;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
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/G1CollectedHeap;
0 6 1 scl Lsun/jvm/hotspot/gc/shared/SpaceClosure;
1 6 2 iter Ljava/util/Iterator<Lsun/jvm/hotspot/gc/g1/HeapRegion;>;
3 4 3 hr Lsun/jvm/hotspot/gc/g1/HeapRegion;
MethodParameters:
Name Flags
scl
public sun.jvm.hotspot.gc.shared.CollectedHeapName kind();
descriptor: ()Lsun/jvm/hotspot/gc/shared/CollectedHeapName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.shared.CollectedHeapName.G1:Lsun/jvm/hotspot/gc/shared/CollectedHeapName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
public void liveRegionsIterate(sun.jvm.hotspot.gc.shared.LiveRegionsClosure);
descriptor: (Lsun/jvm/hotspot/gc/shared/LiveRegionsClosure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.heapRegionIterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.g1.HeapRegion
astore 3
start local 3 3: aload 1
aload 3
invokeinterface sun.jvm.hotspot.gc.shared.LiveRegionsClosure.doLiveRegions:(Lsun/jvm/hotspot/gc/shared/LiveRegionsProvider;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
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/G1CollectedHeap;
0 6 1 closure Lsun/jvm/hotspot/gc/shared/LiveRegionsClosure;
1 6 2 iter Ljava/util/Iterator<Lsun/jvm/hotspot/gc/g1/HeapRegion;>;
3 4 3 hr Lsun/jvm/hotspot/gc/g1/HeapRegion;
MethodParameters:
Name Flags
closure
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.reservedRegion:()Lsun/jvm/hotspot/memory/MemRegion;
astore 2
start local 2 1: aload 1
ldc "garbage-first heap"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
2: aload 1
new java.lang.StringBuilder
dup
ldc " ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual sun.jvm.hotspot.memory.MemRegion.start:()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 2
invokevirtual sun.jvm.hotspot.memory.MemRegion.end:()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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: aload 1
new java.lang.StringBuilder
dup
ldc " region size "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic sun.jvm.hotspot.gc.g1.HeapRegion.grainBytes:()J
ldc 1024
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "K"
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
4: new sun.jvm.hotspot.tools.HeapSummary
dup
invokespecial sun.jvm.hotspot.tools.HeapSummary.<init>:()V
astore 3
start local 3 5: aload 3
aload 0
invokevirtual sun.jvm.hotspot.tools.HeapSummary.printG1HeapSummary:(Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;)V
6: return
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/gc/g1/G1CollectedHeap;
0 7 1 tty Ljava/io/PrintStream;
1 7 2 mr Lsun/jvm/hotspot/memory/MemRegion;
5 7 3 sum Lsun/jvm/hotspot/tools/HeapSummary;
MethodParameters:
Name Flags
tty
public void printRegionDetails(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.jvm.hotspot.gc.shared.PrintRegionClosure
dup
aload 1
invokespecial sun.jvm.hotspot.gc.shared.PrintRegionClosure.<init>:(Ljava/io/PrintStream;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual sun.jvm.hotspot.gc.g1.G1CollectedHeap.heapRegionIterate:(Lsun/jvm/hotspot/gc/shared/SpaceClosure;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/gc/g1/G1CollectedHeap;
0 3 1 tty Ljava/io/PrintStream;
1 3 2 prc Lsun/jvm/hotspot/gc/shared/PrintRegionClosure;
MethodParameters:
Name Flags
tty
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.gc.shared.CollectedHeap.<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/gc/g1/G1CollectedHeap;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
}
SourceFile: "G1CollectedHeap.java"
NestMembers:
sun.jvm.hotspot.gc.g1.G1CollectedHeap$1
InnerClasses:
sun.jvm.hotspot.gc.g1.G1CollectedHeap$1