public class sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap 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.shenandoah.ShenandoahHeap
super_class: sun.jvm.hotspot.gc.shared.CollectedHeap
{
private static sun.jvm.hotspot.types.CIntegerField numRegions;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField used;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField committed;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField regions;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField logMinObjAlignmentInBytes;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long regionPtrFieldSize;
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.shenandoah.ShenandoahHeap$1
dup
invokespecial sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap$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=3, args_size=1
start local 0 0: aload 0
ldc "ShenandoahHeap"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_num_regions"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.numRegions:Lsun/jvm/hotspot/types/CIntegerField;
2: aload 1
ldc "_used"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.used:Lsun/jvm/hotspot/types/CIntegerField;
3: aload 1
ldc "_committed"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.committed:Lsun/jvm/hotspot/types/CIntegerField;
4: aload 1
ldc "_regions"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.regions:Lsun/jvm/hotspot/types/AddressField;
5: aload 1
ldc "_log_min_obj_alignment_in_bytes"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.logMinObjAlignmentInBytes:Lsun/jvm/hotspot/types/CIntegerField;
6: aload 0
ldc "ShenandoahHeapRegion*"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 2
start local 2 7: aload 2
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.regionPtrFieldSize:J
8: return
end local 2 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;
7 9 2 regionPtrType 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.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/shenandoah/ShenandoahHeap;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
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.SHENANDOAH:Lsun/jvm/hotspot/gc/shared/CollectedHeapName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
public long numOfRegions();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.numRegions:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.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/shenandoah/ShenandoahHeap;
public long capacity();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.numOfRegions:()J
invokestatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion.regionSizeBytes:()J
lmul
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
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.shenandoah.ShenandoahHeap.used:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.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/shenandoah/ShenandoahHeap;
public long committed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.committed:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.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/shenandoah/ShenandoahHeap;
public int getLogMinObjAlignmentInBytes();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.logMinObjAlignmentInBytes:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getJInt:(Lsun/jvm/hotspot/debugger/Address;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
public sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion getRegion(long);
descriptor: (J)Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeapRegion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: lload 1
aload 0
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.numOfRegions:()J
lcmp
ifge 6
1: getstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.regions:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
astore 3
start local 3 2: aload 3
lload 1
getstatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.regionPtrFieldSize:J
lmul
invokeinterface sun.jvm.hotspot.debugger.Address.getAddressAt:(J)Lsun/jvm/hotspot/debugger/Address;
astore 4
start local 4 3: ldc Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeapRegion;
aload 4
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion
astore 5
start local 5 4: aload 5
aload 0
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion.setHeap:(Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;)V
5: aload 5
areturn
end local 5 end local 4 end local 3 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
0 7 1 index J
2 6 3 arrayAddr Lsun/jvm/hotspot/debugger/Address;
3 6 4 regAddr Lsun/jvm/hotspot/debugger/Address;
4 6 5 region Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeapRegion;
MethodParameters:
Name Flags
index
public sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion regionAtOffset(long);
descriptor: (J)Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeapRegion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: lload 1
invokestatic sun.jvm.hotspot.gc.shenandoah.ShenandoahHeapRegion.regionSizeBytesShift:()I
lushr
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
iflt 2
lload 3
aload 0
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.numOfRegions:()J
lcmp
iflt 3
2: StackMap locals: long
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Invalid offset: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
lload 3
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.getRegion:(J)Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeapRegion;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
0 4 1 offset J
1 4 3 index J
MethodParameters:
Name Flags
offset
public void liveRegionsIterate(sun.jvm.hotspot.gc.shared.LiveRegionsClosure);
descriptor: (Lsun/jvm/hotspot/gc/shared/LiveRegionsClosure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: goto 5
2: StackMap locals: long
StackMap stack:
aload 0
lload 2
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.getRegion:(J)Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeapRegion;
astore 4
start local 4 3: aload 1
aload 4
invokeinterface sun.jvm.hotspot.gc.shared.LiveRegionsClosure.doLiveRegions:(Lsun/jvm/hotspot/gc/shared/LiveRegionsProvider;)V
end local 4 4: lload 2
lconst_1
ladd
lstore 2
StackMap locals:
StackMap stack:
5: lload 2
aload 0
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.numOfRegions:()J
lcmp
iflt 2
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
0 7 1 closure Lsun/jvm/hotspot/gc/shared/LiveRegionsClosure;
1 6 2 index J
3 4 4 region Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeapRegion;
MethodParameters:
Name Flags
closure
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap.reservedRegion:()Lsun/jvm/hotspot/memory/MemRegion;
astore 2
start local 2 1: aload 1
ldc "Shenandoah 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.shenandoah.ShenandoahHeapRegion.regionSizeBytes:()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: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
0 5 1 tty Ljava/io/PrintStream;
1 5 2 mr Lsun/jvm/hotspot/memory/MemRegion;
MethodParameters:
Name Flags
tty
public sun.jvm.hotspot.utilities.BitMapInterface createBitMap(long);
descriptor: (J)Lsun/jvm/hotspot/utilities/BitMapInterface;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.jvm.hotspot.gc.shenandoah.ShenandoahBitMap
dup
aload 0
invokespecial sun.jvm.hotspot.gc.shenandoah.ShenandoahBitMap.<init>:(Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/shenandoah/ShenandoahHeap;
0 1 1 bits J
MethodParameters:
Name Flags
bits
}
SourceFile: "ShenandoahHeap.java"
NestMembers:
sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap$1
InnerClasses:
sun.jvm.hotspot.gc.shenandoah.ShenandoahHeap$1