public class sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace extends sun.jvm.hotspot.gc.shared.CompactibleSpace
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace
super_class: sun.jvm.hotspot.gc.shared.CompactibleSpace
{
private static sun.jvm.hotspot.types.AddressField collectorField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField indexedFreeListField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField dictionaryField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long smallLinearAllocBlockFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int heapWordSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int IndexSetStart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int IndexSetSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int IndexSetStride;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static long MinChunkSizeInBytes;
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.cms.CompactibleFreeListSpace$1
dup
invokespecial sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace$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 "FreeChunk"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
pop2
1: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
pop
2: aload 0
ldc "CompactibleFreeListSpace"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 3: aload 1
ldc "_collector"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.collectorField:Lsun/jvm/hotspot/types/AddressField;
4: aload 1
ldc "_collector"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.collectorField:Lsun/jvm/hotspot/types/AddressField;
5: aload 1
ldc "_dictionary"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.dictionaryField:Lsun/jvm/hotspot/types/AddressField;
6: aload 1
ldc "_indexedFreeList[0]"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.indexedFreeListField:Lsun/jvm/hotspot/types/AddressField;
7: aload 1
ldc "_smallLinearAllocBlock"
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.cms.CompactibleFreeListSpace.smallLinearAllocBlockFieldOffset:J
8: aload 1
ldc "_min_chunk_size_in_bytes"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:()J
putstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.MinChunkSizeInBytes:J
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 db Lsun/jvm/hotspot/types/TypeDataBase;
3 10 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=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: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.jvm.hotspot.runtime.VM.getHeapWordSize:()I
putfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.heapWordSize:I
3: aload 0
aload 2
invokevirtual sun.jvm.hotspot.runtime.VM.getMinObjAlignmentInBytes:()I
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.heapWordSize:I
idiv
putfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetStart:I
4: aload 0
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetStart:I
putfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetStride:I
5: aload 0
aload 2
invokevirtual sun.jvm.hotspot.runtime.VM.getIndexSetSize:()I
putfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetSize:I
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
0 7 1 addr Lsun/jvm/hotspot/debugger/Address;
2 7 2 vm Lsun/jvm/hotspot/runtime/VM;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.gc.cms.CMSCollector collector();
descriptor: ()Lsun/jvm/hotspot/gc/cms/CMSCollector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc Lsun/jvm/hotspot/gc/cms/CMSCollector;
1: getstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.collectorField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
2: invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.cms.CMSCollector
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
public long free0();
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.cms.CompactibleFreeListSpace.capacity:()J
aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.used0:()J
lsub
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
public long used();
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.cms.CompactibleFreeListSpace.capacity:()J
aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.free:()J
lsub
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
public long used0();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.getLiveRegions:()Ljava/util/List;
astore 1
start local 1 1: lconst_0
lstore 2
start local 2 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 3: goto 6
4: StackMap locals: java.util.List long java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.memory.MemRegion
astore 5
start local 5 5: lload 2
aload 5
invokevirtual sun.jvm.hotspot.memory.MemRegion.byteSize:()J
ladd
lstore 2
end local 5 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 4 7: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
1 8 1 regions Ljava/util/List;
2 8 2 usedSize J
3 7 4 itr Ljava/util/Iterator;
5 6 5 mr Lsun/jvm/hotspot/memory/MemRegion;
public long free();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.indexedFreeListField:Lsun/jvm/hotspot/types/AddressField;
invokeinterface sun.jvm.hotspot.types.AddressField.getOffset:()J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 3
start local 3 2: aload 3
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetStart:I
i2l
invokestatic sun.jvm.hotspot.gc.cms.AdaptiveFreeList.sizeOf:()J
lmul
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 3
3: aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetStart:I
istore 4
start local 4 4: goto 9
5: StackMap locals: long sun.jvm.hotspot.debugger.Address int
StackMap stack:
ldc Lsun/jvm/hotspot/gc/cms/AdaptiveFreeList;
aload 3
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.cms.AdaptiveFreeList
astore 5
start local 5 6: lload 1
iload 4
i2l
aload 5
invokevirtual sun.jvm.hotspot.gc.cms.AdaptiveFreeList.count:()J
lmul
ladd
lstore 1
7: aload 3
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetStride:I
i2l
invokestatic sun.jvm.hotspot.gc.cms.AdaptiveFreeList.sizeOf:()J
lmul
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 3
end local 5 8: iload 4
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetStride:I
iadd
istore 4
StackMap locals:
StackMap stack:
9: iload 4
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.IndexSetSize:I
if_icmplt 5
end local 4 10: ldc Lsun/jvm/hotspot/memory/AFLBinaryTreeDictionary;
11: getstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.dictionaryField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
12: invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.memory.AFLBinaryTreeDictionary
astore 4
start local 4 13: lload 1
aload 4
invokevirtual sun.jvm.hotspot.memory.AFLBinaryTreeDictionary.size:()J
ladd
lstore 1
14: ldc Lsun/jvm/hotspot/gc/cms/LinearAllocBlock;
15: aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.smallLinearAllocBlockFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
16: invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.cms.LinearAllocBlock
astore 5
start local 5 17: lload 1
aload 5
invokevirtual sun.jvm.hotspot.gc.cms.LinearAllocBlock.word_size:()J
ladd
lstore 1
18: lload 1
aload 0
getfield sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.heapWordSize:I
i2l
lmul
lreturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
1 19 1 size J
2 19 3 cur Lsun/jvm/hotspot/debugger/Address;
4 10 4 i I
6 8 5 freeList Lsun/jvm/hotspot/gc/cms/AdaptiveFreeList;
13 19 4 aflbd Lsun/jvm/hotspot/memory/AFLBinaryTreeDictionary;
17 19 5 lab Lsun/jvm/hotspot/gc/cms/LinearAllocBlock;
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ldc "free-list-space"
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
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.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.cms.CompactibleFreeListSpace.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
2: aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.capacity:()J
lstore 2
start local 2 3: aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.used:()J
lstore 4
start local 4 4: aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.free:()J
lstore 6
start local 6 5: lload 4
l2d
lload 2
l2d
ddiv
ldc 100.0
dmul
d2i
istore 8
start local 8 6: aload 1
new java.lang.StringBuilder
dup
ldc "space capacity = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " used("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 8
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "%)= "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 4
invokevirtual java.lang.StringBuilder.append:(J)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
7: aload 1
new java.lang.StringBuilder
dup
ldc "free= "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 6
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
8: aload 1
ldc "\n"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
9: return
end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
0 10 1 tty Ljava/io/PrintStream;
3 10 2 cap J
4 10 4 used_size J
5 10 6 free_size J
6 10 8 used_perc I
MethodParameters:
Name Flags
tty
public sun.jvm.hotspot.debugger.Address skipBlockSizeUsingPrintezisBits(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.collector:()Lsun/jvm/hotspot/gc/cms/CMSCollector;
astore 2
start local 2 1: lconst_0
lstore 3
start local 3 2: aconst_null
astore 5
start local 5 3: aload 2
ifnull 7
4: aload 2
aload 1
invokevirtual sun.jvm.hotspot.gc.cms.CMSCollector.blockSizeUsingPrintezisBits:(Lsun/jvm/hotspot/debugger/Address;)J
lstore 3
5: lload 3
ldc 3
lcmp
iflt 7
6: aload 1
lload 3
invokestatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.adjustObjectSizeInBytes:(J)J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 5
7: StackMap locals: sun.jvm.hotspot.gc.cms.CMSCollector long sun.jvm.hotspot.debugger.Address
StackMap stack:
aload 5
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
0 8 1 pos Lsun/jvm/hotspot/debugger/Address;
1 8 2 collector Lsun/jvm/hotspot/gc/cms/CMSCollector;
2 8 3 size J
3 8 5 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
pos
public java.util.List getLiveRegions();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
astore 2
start local 2 2: aload 2
invokevirtual sun.jvm.hotspot.runtime.VM.getDebugger:()Lsun/jvm/hotspot/debugger/JVMDebugger;
pop
3: aload 2
invokevirtual sun.jvm.hotspot.runtime.VM.getObjectHeap:()Lsun/jvm/hotspot/oops/ObjectHeap;
astore 3
start local 3 4: aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.bottom:()Lsun/jvm/hotspot/debugger/Address;
astore 4
start local 4 5: aload 4
astore 5
start local 5 6: aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.end:()Lsun/jvm/hotspot/debugger/Address;
astore 6
start local 6 7: aload 2
invokevirtual sun.jvm.hotspot.runtime.VM.getAddressSize:()J
lstore 7
start local 7 8: goto 31
9: StackMap locals: sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace java.util.List sun.jvm.hotspot.runtime.VM sun.jvm.hotspot.oops.ObjectHeap sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.Address long
StackMap stack:
aload 4
lload 7
invokeinterface sun.jvm.hotspot.debugger.Address.getAddressAt:(J)Lsun/jvm/hotspot/debugger/Address;
astore 9
start local 9 10: aload 4
invokestatic sun.jvm.hotspot.memory.FreeChunk.indicatesFreeChunk:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 22
11: aload 4
aload 5
invokeinterface sun.jvm.hotspot.debugger.Address.equals:(Ljava/lang/Object;)Z
ifne 13
12: aload 1
new sun.jvm.hotspot.memory.MemRegion
dup
aload 5
aload 4
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
13: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
ldc Lsun/jvm/hotspot/memory/FreeChunk;
aload 4
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.memory.FreeChunk
astore 10
start local 10 14: aload 10
invokevirtual sun.jvm.hotspot.memory.FreeChunk.size:()J
lstore 11
start local 11 15: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 19
16: lload 11
lconst_0
lcmp
ifle 17
iconst_1
goto 18
StackMap locals: sun.jvm.hotspot.memory.FreeChunk long
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: ldc "invalid FreeChunk size"
invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
19: StackMap locals:
StackMap stack:
aload 4
lload 11
lload 7
lmul
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 4
20: aload 4
astore 5
end local 11 end local 10 21: goto 31
StackMap locals:
StackMap stack:
22: aload 9
ifnull 27
23: aload 3
aload 4
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetToAsOopHandle:(J)Lsun/jvm/hotspot/debugger/OopHandle;
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.newOop:(Lsun/jvm/hotspot/debugger/OopHandle;)Lsun/jvm/hotspot/oops/Oop;
astore 10
start local 10 24: aload 10
invokevirtual sun.jvm.hotspot.oops.Oop.getObjectSize:()J
lstore 11
start local 11 25: aload 4
lload 11
invokestatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.adjustObjectSizeInBytes:(J)J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 4
end local 11 end local 10 26: goto 31
27: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.collector:()Lsun/jvm/hotspot/gc/cms/CMSCollector;
aload 4
invokevirtual sun.jvm.hotspot.gc.cms.CMSCollector.blockSizeUsingPrintezisBits:(Lsun/jvm/hotspot/debugger/Address;)J
lstore 10
start local 10 28: lload 10
ldc -1
lcmp
ifne 30
29: goto 32
30: StackMap locals: long
StackMap stack:
aload 4
lload 10
invokestatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.adjustObjectSizeInBytes:(J)J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 4
end local 10 end local 9 31: StackMap locals:
StackMap stack:
aload 4
aload 6
invokeinterface sun.jvm.hotspot.debugger.Address.lessThan:(Lsun/jvm/hotspot/debugger/Address;)Z
ifne 9
32: StackMap locals:
StackMap stack:
aload 1
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/jvm/hotspot/gc/cms/CompactibleFreeListSpace;
1 33 1 res Ljava/util/List;
2 33 2 vm Lsun/jvm/hotspot/runtime/VM;
4 33 3 heap Lsun/jvm/hotspot/oops/ObjectHeap;
5 33 4 cur Lsun/jvm/hotspot/debugger/Address;
6 33 5 regionStart Lsun/jvm/hotspot/debugger/Address;
7 33 6 limit Lsun/jvm/hotspot/debugger/Address;
8 33 7 addressSize J
10 31 9 k Lsun/jvm/hotspot/debugger/Address;
14 21 10 fc Lsun/jvm/hotspot/memory/FreeChunk;
15 21 11 chunkSize J
24 26 10 obj Lsun/jvm/hotspot/oops/Oop;
25 26 11 objectSize J
28 31 10 size J
public static long adjustObjectSizeInBytes(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
getstatic sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace.MinChunkSizeInBytes:J
invokestatic java.lang.Math.max:(JJ)J
invokestatic sun.jvm.hotspot.oops.Oop.alignObjectSize:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sizeInBytes J
MethodParameters:
Name Flags
sizeInBytes
}
SourceFile: "CompactibleFreeListSpace.java"
NestMembers:
sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace$1
InnerClasses:
sun.jvm.hotspot.gc.cms.CompactibleFreeListSpace$1