public class sun.jvm.hotspot.utilities.MarkBits
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.utilities.MarkBits
super_class: java.lang.Object
{
private sun.jvm.hotspot.utilities.BitMap bits;
descriptor: Lsun/jvm/hotspot/utilities/BitMap;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.debugger.Address start;
descriptor: Lsun/jvm/hotspot/debugger/Address;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.debugger.Address end;
descriptor: Lsun/jvm/hotspot/debugger/Address;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvm.hotspot.gc.shared.CollectedHeap);
descriptor: (Lsun/jvm/hotspot/gc/shared/CollectedHeap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual sun.jvm.hotspot.gc.shared.CollectedHeap.reservedRegion:()Lsun/jvm/hotspot/memory/MemRegion;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.jvm.hotspot.memory.MemRegion.start:()Lsun/jvm/hotspot/debugger/Address;
putfield sun.jvm.hotspot.utilities.MarkBits.start:Lsun/jvm/hotspot/debugger/Address;
3: aload 0
aload 2
invokevirtual sun.jvm.hotspot.memory.MemRegion.end:()Lsun/jvm/hotspot/debugger/Address;
putfield sun.jvm.hotspot.utilities.MarkBits.end:Lsun/jvm/hotspot/debugger/Address;
4: aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.end:Lsun/jvm/hotspot/debugger/Address;
aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.start:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.debugger.Address.minus:(Lsun/jvm/hotspot/debugger/Address;)J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
ldiv
lstore 3
start local 3 5: aload 0
new sun.jvm.hotspot.utilities.BitMap
dup
lload 3
l2i
invokespecial sun.jvm.hotspot.utilities.BitMap.<init>:(I)V
putfield sun.jvm.hotspot.utilities.MarkBits.bits:Lsun/jvm/hotspot/utilities/BitMap;
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/utilities/MarkBits;
0 7 1 heap Lsun/jvm/hotspot/gc/shared/CollectedHeap;
2 7 2 reserved Lsun/jvm/hotspot/memory/MemRegion;
5 7 3 numOopHandles J
MethodParameters:
Name Flags
heap
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.bits:Lsun/jvm/hotspot/utilities/BitMap;
invokevirtual sun.jvm.hotspot.utilities.BitMap.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/utilities/MarkBits;
public boolean mark(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "MarkBits: WARNING: null object, ignoring"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.oops.Oop.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
astore 2
start local 2 4: aload 2
aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.start:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.debugger.OopHandle.minus:(Lsun/jvm/hotspot/debugger/Address;)J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
ldiv
lstore 3
start local 3 5: lload 3
lconst_0
lcmp
iflt 6
lload 3
aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.bits:Lsun/jvm/hotspot/utilities/BitMap;
invokevirtual sun.jvm.hotspot.utilities.BitMap.size:()I
i2l
lcmp
iflt 8
6: StackMap locals: sun.jvm.hotspot.debugger.OopHandle long
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "MarkBits: WARNING: object "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " outside of heap, ignoring"
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
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
lload 3
l2i
istore 5
start local 5 9: aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.bits:Lsun/jvm/hotspot/utilities/BitMap;
iload 5
invokevirtual sun.jvm.hotspot.utilities.BitMap.at:(I)Z
ifeq 11
10: iconst_0
ireturn
11: StackMap locals: int
StackMap stack:
aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.bits:Lsun/jvm/hotspot/utilities/BitMap;
iload 5
iconst_1
invokevirtual sun.jvm.hotspot.utilities.BitMap.atPut:(IZ)V
12: iconst_1
ireturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/jvm/hotspot/utilities/MarkBits;
0 13 1 obj Lsun/jvm/hotspot/oops/Oop;
4 13 2 handle Lsun/jvm/hotspot/debugger/OopHandle;
5 13 3 idx J
9 13 5 intIdx I
MethodParameters:
Name Flags
obj
public void clear(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.oops.Oop.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
astore 2
start local 2 1: aload 2
aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.start:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.debugger.OopHandle.minus:(Lsun/jvm/hotspot/debugger/Address;)J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
ldiv
lstore 3
start local 3 2: lload 3
lconst_0
lcmp
iflt 3
lload 3
aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.bits:Lsun/jvm/hotspot/utilities/BitMap;
invokevirtual sun.jvm.hotspot.utilities.BitMap.size:()I
i2l
lcmp
iflt 5
3: StackMap locals: sun.jvm.hotspot.debugger.OopHandle long
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "MarkBits: WARNING: object "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " outside of heap, ignoring"
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
5: StackMap locals:
StackMap stack:
lload 3
l2i
istore 5
start local 5 6: aload 0
getfield sun.jvm.hotspot.utilities.MarkBits.bits:Lsun/jvm/hotspot/utilities/BitMap;
iload 5
iconst_0
invokevirtual sun.jvm.hotspot.utilities.BitMap.atPut:(IZ)V
7: return
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/utilities/MarkBits;
0 8 1 obj Lsun/jvm/hotspot/oops/Oop;
1 8 2 handle Lsun/jvm/hotspot/debugger/OopHandle;
2 8 3 idx J
6 8 5 intIdx I
MethodParameters:
Name Flags
obj
}
SourceFile: "MarkBits.java"