public class sun.jvm.hotspot.gc.z.ZExternalBitMap implements sun.jvm.hotspot.utilities.BitMapInterface
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.gc.z.ZExternalBitMap
super_class: java.lang.Object
{
private sun.jvm.hotspot.gc.z.ZPageTable pageTable;
descriptor: Lsun/jvm/hotspot/gc/z/ZPageTable;
flags: (0x0002) ACC_PRIVATE
private final long oopSize;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.HashMap<sun.jvm.hotspot.gc.z.ZPage, sun.jvm.hotspot.utilities.BitMap> pageToBitMap;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Lsun/jvm/hotspot/gc/z/ZPage;Lsun/jvm/hotspot/utilities/BitMap;>;
public void <init>(sun.jvm.hotspot.gc.z.ZCollectedHeap);
descriptor: (Lsun/jvm/hotspot/gc/z/ZCollectedHeap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.jvm.hotspot.gc.z.ZExternalBitMap.pageToBitMap:Ljava/util/HashMap;
2: aload 0
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZCollectedHeap.heap:()Lsun/jvm/hotspot/gc/z/ZHeap;
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.pageTable:()Lsun/jvm/hotspot/gc/z/ZPageTable;
putfield sun.jvm.hotspot.gc.z.ZExternalBitMap.pageTable:Lsun/jvm/hotspot/gc/z/ZPageTable;
3: aload 0
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
putfield sun.jvm.hotspot.gc.z.ZExternalBitMap.oopSize:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
0 5 1 collectedHeap Lsun/jvm/hotspot/gc/z/ZCollectedHeap;
MethodParameters:
Name Flags
collectedHeap
private sun.jvm.hotspot.gc.z.ZPage getPage(long);
descriptor: (J)Lsun/jvm/hotspot/gc/z/ZPage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: lload 1
getstatic sun.jvm.hotspot.gc.z.ZGlobals.ZAddressOffsetMask:J
lcmp
ifle 2
1: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Not a Z 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
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.gc.z.ZExternalBitMap.pageTable:Lsun/jvm/hotspot/gc/z/ZPageTable;
lload 1
invokestatic sun.jvm.hotspot.gc.z.ZUtils.longToAddress:(J)Lsun/jvm/hotspot/debugger/Address;
invokevirtual sun.jvm.hotspot.gc.z.ZPageTable.get:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/gc/z/ZPage;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Address not in pageTable: "
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
5: StackMap locals: sun.jvm.hotspot.gc.z.ZPage
StackMap stack:
aload 3
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
0 6 1 zOffset J
3 6 3 page Lsun/jvm/hotspot/gc/z/ZPage;
MethodParameters:
Name Flags
zOffset
private sun.jvm.hotspot.utilities.BitMap getOrAddBitMap(sun.jvm.hotspot.gc.z.ZPage);
descriptor: (Lsun/jvm/hotspot/gc/z/ZPage;)Lsun/jvm/hotspot/utilities/BitMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.gc.z.ZExternalBitMap.pageToBitMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.utilities.BitMap
astore 2
start local 2 1: aload 2
ifnonnull 9
2: aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPage.size:()J
lstore 3
start local 3 3: lload 3
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPage.object_alignment_shift:()J
l2i
lushr
lstore 5
start local 5 4: lload 5
ldc 2147483647
lcmp
ifle 6
5: new java.lang.RuntimeException
dup
ldc "int overflow"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.jvm.hotspot.utilities.BitMap long long
StackMap stack:
lload 5
l2i
istore 7
start local 7 7: new sun.jvm.hotspot.utilities.BitMap
dup
iload 7
invokespecial sun.jvm.hotspot.utilities.BitMap.<init>:(I)V
astore 2
8: aload 0
getfield sun.jvm.hotspot.gc.z.ZExternalBitMap.pageToBitMap:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 5 end local 3 9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
0 10 1 page Lsun/jvm/hotspot/gc/z/ZPage;
1 10 2 bitMap Lsun/jvm/hotspot/utilities/BitMap;
3 9 3 size J
4 9 5 maxNumObjects J
7 9 7 intMaxNumObjects I
MethodParameters:
Name Flags
page
private int pageLocalBitMapIndex(sun.jvm.hotspot.gc.z.ZPage, long);
descriptor: (Lsun/jvm/hotspot/gc/z/ZPage;J)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: lload 2
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPage.start:()J
lsub
lstore 4
start local 4 1: lload 4
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPage.object_alignment_shift:()J
l2i
lushr
l2i
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
0 2 1 page Lsun/jvm/hotspot/gc/z/ZPage;
0 2 2 zOffset J
1 2 4 pageLocalZOffset J
MethodParameters:
Name Flags
page
zOffset
private long convertToZOffset(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic sun.jvm.hotspot.gc.z.ZGlobals.ZAddressSpaceStart:J
aload 0
getfield sun.jvm.hotspot.gc.z.ZExternalBitMap.oopSize:J
lload 1
lmul
ladd
lstore 3
start local 3 1: lload 3
getstatic sun.jvm.hotspot.gc.z.ZGlobals.ZAddressOffsetMask:J
land
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
0 2 1 offset J
1 2 3 addr J
MethodParameters:
Name Flags
offset
public boolean at(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.convertToZOffset:(J)J
lstore 3
start local 3 1: aload 0
lload 3
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.getPage:(J)Lsun/jvm/hotspot/gc/z/ZPage;
astore 5
start local 5 2: aload 0
aload 5
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.getOrAddBitMap:(Lsun/jvm/hotspot/gc/z/ZPage;)Lsun/jvm/hotspot/utilities/BitMap;
astore 6
start local 6 3: aload 0
aload 5
lload 3
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.pageLocalBitMapIndex:(Lsun/jvm/hotspot/gc/z/ZPage;J)I
istore 7
start local 7 4: aload 6
iload 7
invokevirtual sun.jvm.hotspot.utilities.BitMap.at:(I)Z
ireturn
end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
0 5 1 offset J
1 5 3 zOffset J
2 5 5 page Lsun/jvm/hotspot/gc/z/ZPage;
3 5 6 bitMap Lsun/jvm/hotspot/utilities/BitMap;
4 5 7 index I
MethodParameters:
Name Flags
offset
public void atPut(long, boolean);
descriptor: (JZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.convertToZOffset:(J)J
lstore 4
start local 4 1: aload 0
lload 4
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.getPage:(J)Lsun/jvm/hotspot/gc/z/ZPage;
astore 6
start local 6 2: aload 0
aload 6
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.getOrAddBitMap:(Lsun/jvm/hotspot/gc/z/ZPage;)Lsun/jvm/hotspot/utilities/BitMap;
astore 7
start local 7 3: aload 0
aload 6
lload 4
invokevirtual sun.jvm.hotspot.gc.z.ZExternalBitMap.pageLocalBitMapIndex:(Lsun/jvm/hotspot/gc/z/ZPage;J)I
istore 8
start local 8 4: aload 7
iload 8
iload 3
invokevirtual sun.jvm.hotspot.utilities.BitMap.atPut:(IZ)V
5: return
end local 8 end local 7 end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
0 6 1 offset J
0 6 3 value Z
1 6 4 zOffset J
2 6 6 page Lsun/jvm/hotspot/gc/z/ZPage;
3 6 7 bitMap Lsun/jvm/hotspot/utilities/BitMap;
4 6 8 index I
MethodParameters:
Name Flags
offset
value
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.z.ZExternalBitMap.pageToBitMap:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: sun.jvm.hotspot.gc.z.ZExternalBitMap top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.utilities.BitMap
astore 1
start local 1 2: aload 1
invokevirtual sun.jvm.hotspot.utilities.BitMap.clear:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/gc/z/ZExternalBitMap;
2 3 1 bitMap Lsun/jvm/hotspot/utilities/BitMap;
}
SourceFile: "ZExternalBitMap.java"