public class sun.jvm.hotspot.oops.ObjectHeap
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.oops.ObjectHeap
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private long oopSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long byteSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long charSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long booleanSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long intSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long shortSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long longSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long floatSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long doubleSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.jvm.hotspot.oops.ObjectHeap.DEBUG"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.jvm.hotspot.oops.ObjectHeap.DEBUG:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)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
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.oopSize:J
2: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJByteType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.byteSize:J
3: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJCharType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.charSize:J
4: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJBooleanType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.booleanSize:J
5: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJIntType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.intSize:J
6: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJShortType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.shortSize:J
7: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJLongType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.longSize:J
8: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJFloatType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.floatSize:J
9: aload 0
aload 1
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJDoubleType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putfield sun.jvm.hotspot.oops.ObjectHeap.doubleSize:J
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 11 1 db Lsun/jvm/hotspot/types/TypeDataBase;
Exceptions:
throws sun.jvm.hotspot.types.WrongTypeException
MethodParameters:
Name Flags
db
public boolean equal(sun.jvm.hotspot.oops.Oop, sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;Lsun/jvm/hotspot/oops/Oop;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
aload 2
invokevirtual sun.jvm.hotspot.oops.Oop.equals:(Ljava/lang/Object;)Z
ireturn
1: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 3 1 o1 Lsun/jvm/hotspot/oops/Oop;
0 3 2 o2 Lsun/jvm/hotspot/oops/Oop;
MethodParameters:
Name Flags
o1
o2
public long getOopSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.oopSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getByteSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.byteSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getCharSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.charSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getBooleanSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.booleanSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getIntSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.intSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getShortSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.shortSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getLongSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.longSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getFloatSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.floatSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public long getDoubleSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.oops.ObjectHeap.doubleSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
public void iterate(sun.jvm.hotspot.oops.HeapVisitor);
descriptor: (Lsun/jvm/hotspot/oops/HeapVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.collectLiveRegions:()Ljava/util/List;
aload 1
aconst_null
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateLiveRegions:(Ljava/util/List;Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 2 1 visitor Lsun/jvm/hotspot/oops/HeapVisitor;
MethodParameters:
Name Flags
visitor
public void iterate(sun.jvm.hotspot.oops.HeapVisitor, sun.jvm.hotspot.oops.ObjectHeap$ObjectFilter);
descriptor: (Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.collectLiveRegions:()Ljava/util/List;
aload 1
aload 2
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateLiveRegions:(Ljava/util/List;Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 2 1 visitor Lsun/jvm/hotspot/oops/HeapVisitor;
0 2 2 of Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;
MethodParameters:
Name Flags
visitor
of
public void iterateObjectsOfKlass(sun.jvm.hotspot.oops.HeapVisitor, sun.jvm.hotspot.oops.Klass, boolean);
descriptor: (Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 6
1: aload 2
invokevirtual sun.jvm.hotspot.oops.Klass.isFinal:()Z
ifeq 4
2: aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateExact:(Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;)V
3: goto 8
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateSubtypes:(Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;)V
5: goto 8
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.oops.Klass.isAbstract:()Z
ifne 8
aload 2
invokevirtual sun.jvm.hotspot.oops.Klass.isInterface:()Z
ifne 8
7: aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateExact:(Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;)V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 9 1 visitor Lsun/jvm/hotspot/oops/HeapVisitor;
0 9 2 k Lsun/jvm/hotspot/oops/Klass;
0 9 3 includeSubtypes Z
MethodParameters:
Name Flags
visitor
k final
includeSubtypes
public void iterateObjectsOfKlass(sun.jvm.hotspot.oops.HeapVisitor, sun.jvm.hotspot.oops.Klass);
descriptor: (Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateObjectsOfKlass:(Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 2 1 visitor Lsun/jvm/hotspot/oops/HeapVisitor;
0 2 2 k Lsun/jvm/hotspot/oops/Klass;
MethodParameters:
Name Flags
visitor
k final
public void iterateRaw(sun.jvm.hotspot.oops.RawHeapVisitor);
descriptor: (Lsun/jvm/hotspot/oops/RawHeapVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.collectLiveRegions:()Ljava/util/List;
astore 2
start local 2 1: lconst_0
lstore 3
start local 3 2: iconst_0
istore 5
start local 5 3: goto 8
4: StackMap locals: java.util.List long int
StackMap stack:
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 6
start local 6 5: aload 2
iload 5
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 7
start local 7 6: lload 3
aload 7
aload 6
invokeinterface sun.jvm.hotspot.debugger.Address.minus:(Lsun/jvm/hotspot/debugger/Address;)J
ladd
lstore 3
end local 7 end local 6 7: iinc 5 2
StackMap locals:
StackMap stack:
8: iload 5
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 5 9: aload 1
lload 3
invokeinterface sun.jvm.hotspot.oops.RawHeapVisitor.prologue:(J)V
10: iconst_0
istore 5
start local 5 11: goto 19
12: StackMap locals:
StackMap stack:
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 6
start local 6 13: aload 2
iload 5
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 7
start local 7 14: goto 17
15: StackMap locals: sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.Address
StackMap stack:
aload 1
aload 6
invokeinterface sun.jvm.hotspot.oops.RawHeapVisitor.visitAddress:(Lsun/jvm/hotspot/debugger/Address;)V
16: aload 6
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getAddressSize:()J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 6
17: StackMap locals:
StackMap stack:
aload 6
aload 7
invokeinterface sun.jvm.hotspot.debugger.Address.lessThan:(Lsun/jvm/hotspot/debugger/Address;)Z
ifne 15
end local 7 end local 6 18: iinc 5 2
StackMap locals:
StackMap stack:
19: iload 5
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 12
end local 5 20: aload 1
invokeinterface sun.jvm.hotspot.oops.RawHeapVisitor.epilogue:()V
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 22 1 visitor Lsun/jvm/hotspot/oops/RawHeapVisitor;
1 22 2 liveRegions Ljava/util/List<Lsun/jvm/hotspot/debugger/Address;>;
2 22 3 totalSize J
3 9 5 i I
5 7 6 bottom Lsun/jvm/hotspot/debugger/Address;
6 7 7 top Lsun/jvm/hotspot/debugger/Address;
11 20 5 i I
13 18 6 bottom Lsun/jvm/hotspot/debugger/Address;
14 18 7 top Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
visitor
public boolean isValidMethod(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/oops/Metadata;
checkcast sun.jvm.hotspot.oops.Method
pop
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 4 1 handle Lsun/jvm/hotspot/debugger/Address;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
handle
public sun.jvm.hotspot.oops.Oop newOop(sun.jvm.hotspot.debugger.OopHandle);
descriptor: (Lsun/jvm/hotspot/debugger/OopHandle;)Lsun/jvm/hotspot/oops/Oop;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.jvm.hotspot.oops.Oop.getKlassForOopHandle:(Lsun/jvm/hotspot/debugger/OopHandle;)Lsun/jvm/hotspot/oops/Klass;
astore 2
start local 2 2: aload 2
ifnull 6
3: aload 2
instanceof sun.jvm.hotspot.oops.TypeArrayKlass
ifeq 4
new sun.jvm.hotspot.oops.TypeArray
dup
aload 1
aload 0
invokespecial sun.jvm.hotspot.oops.TypeArray.<init>:(Lsun/jvm/hotspot/debugger/OopHandle;Lsun/jvm/hotspot/oops/ObjectHeap;)V
areturn
4: StackMap locals: sun.jvm.hotspot.oops.Klass
StackMap stack:
aload 2
instanceof sun.jvm.hotspot.oops.ObjArrayKlass
ifeq 5
new sun.jvm.hotspot.oops.ObjArray
dup
aload 1
aload 0
invokespecial sun.jvm.hotspot.oops.ObjArray.<init>:(Lsun/jvm/hotspot/debugger/OopHandle;Lsun/jvm/hotspot/oops/ObjectHeap;)V
areturn
5: StackMap locals:
StackMap stack:
aload 2
instanceof sun.jvm.hotspot.oops.InstanceKlass
ifeq 6
new sun.jvm.hotspot.oops.Instance
dup
aload 1
aload 0
invokespecial sun.jvm.hotspot.oops.Instance.<init>:(Lsun/jvm/hotspot/debugger/OopHandle;Lsun/jvm/hotspot/oops/ObjectHeap;)V
areturn
6: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.oops.ObjectHeap.DEBUG:Z
ifeq 9
7: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Unknown oop at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Oop's klass is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.oops.UnknownOopException
dup
invokespecial sun.jvm.hotspot.oops.UnknownOopException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 10 1 handle Lsun/jvm/hotspot/debugger/OopHandle;
2 10 2 klass Lsun/jvm/hotspot/oops/Klass;
MethodParameters:
Name Flags
handle
public void print();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new sun.jvm.hotspot.oops.HeapPrinter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial sun.jvm.hotspot.oops.HeapPrinter.<init>:(Ljava/io/PrintStream;)V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterate:(Lsun/jvm/hotspot/oops/HeapVisitor;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
1 3 1 printer Lsun/jvm/hotspot/oops/HeapPrinter;
private void iterateExact(sun.jvm.hotspot.oops.HeapVisitor, sun.jvm.hotspot.oops.Klass);
descriptor: (Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.collectLiveRegions:()Ljava/util/List;
aload 1
new sun.jvm.hotspot.oops.ObjectHeap$1
dup
aload 0
aload 2
invokespecial sun.jvm.hotspot.oops.ObjectHeap$1.<init>:(Lsun/jvm/hotspot/oops/ObjectHeap;Lsun/jvm/hotspot/oops/Klass;)V
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateLiveRegions:(Ljava/util/List;Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 2 1 visitor Lsun/jvm/hotspot/oops/HeapVisitor;
0 2 2 k Lsun/jvm/hotspot/oops/Klass;
MethodParameters:
Name Flags
visitor
k final
private void iterateSubtypes(sun.jvm.hotspot.oops.HeapVisitor, sun.jvm.hotspot.oops.Klass);
descriptor: (Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/Klass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.collectLiveRegions:()Ljava/util/List;
aload 1
new sun.jvm.hotspot.oops.ObjectHeap$2
dup
aload 0
aload 2
invokespecial sun.jvm.hotspot.oops.ObjectHeap$2.<init>:(Lsun/jvm/hotspot/oops/ObjectHeap;Lsun/jvm/hotspot/oops/Klass;)V
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.iterateLiveRegions:(Ljava/util/List;Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 2 1 visitor Lsun/jvm/hotspot/oops/HeapVisitor;
0 2 2 k Lsun/jvm/hotspot/oops/Klass;
MethodParameters:
Name Flags
visitor
k final
private void iterateLiveRegions(java.util.List<sun.jvm.hotspot.debugger.Address>, sun.jvm.hotspot.oops.HeapVisitor, sun.jvm.hotspot.oops.ObjectHeap$ObjectFilter);
descriptor: (Ljava/util/List;Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lconst_0
lstore 4
start local 4 1: iconst_0
istore 6
start local 6 2: goto 7
3: StackMap locals: long int
StackMap stack:
aload 1
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 7
start local 7 4: aload 1
iload 6
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 8
start local 8 5: lload 4
aload 8
aload 7
invokeinterface sun.jvm.hotspot.debugger.Address.minus:(Lsun/jvm/hotspot/debugger/Address;)J
ladd
lstore 4
end local 8 end local 7 6: iinc 6 2
StackMap locals:
StackMap stack:
7: iload 6
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 6 8: aload 2
lload 4
invokeinterface sun.jvm.hotspot.oops.HeapVisitor.prologue:(J)V
9: iconst_0
istore 6
start local 6 10: goto 27
11: StackMap locals:
StackMap stack:
aload 1
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 7
start local 7 12: aload 1
iload 6
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 8
start local 8 13: aload 7
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetToAsOopHandle:(J)Lsun/jvm/hotspot/debugger/OopHandle;
astore 9
start local 9 14: goto 23
15: StackMap locals: sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.OopHandle
StackMap stack:
aconst_null
astore 10
start local 10 16: aload 0
aload 9
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.newOop:(Lsun/jvm/hotspot/debugger/OopHandle;)Lsun/jvm/hotspot/oops/Oop;
astore 10
17: aload 10
ifnonnull 19
18: new sun.jvm.hotspot.oops.UnknownOopException
dup
invokespecial sun.jvm.hotspot.oops.UnknownOopException.<init>:()V
athrow
19: StackMap locals: sun.jvm.hotspot.oops.Oop
StackMap stack:
aload 3
ifnull 20
aload 3
aload 10
invokeinterface sun.jvm.hotspot.oops.ObjectHeap$ObjectFilter.canInclude:(Lsun/jvm/hotspot/oops/Oop;)Z
ifeq 22
20: StackMap locals:
StackMap stack:
aload 2
aload 10
invokeinterface sun.jvm.hotspot.oops.HeapVisitor.doObj:(Lsun/jvm/hotspot/oops/Oop;)Z
ifeq 22
21: goto 26
22: StackMap locals:
StackMap stack:
aload 9
aload 10
invokevirtual sun.jvm.hotspot.oops.Oop.getObjectSize:()J
invokeinterface sun.jvm.hotspot.debugger.OopHandle.addOffsetToAsOopHandle:(J)Lsun/jvm/hotspot/debugger/OopHandle;
astore 9
end local 10 23: StackMap locals:
StackMap stack:
aload 9
aload 8
invokeinterface sun.jvm.hotspot.debugger.OopHandle.lessThan:(Lsun/jvm/hotspot/debugger/Address;)Z
ifne 15
end local 9 24: goto 26
StackMap locals: sun.jvm.hotspot.oops.ObjectHeap java.util.List sun.jvm.hotspot.oops.HeapVisitor sun.jvm.hotspot.oops.ObjectHeap$ObjectFilter long int sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.Address
StackMap stack: java.lang.RuntimeException
25: pop
end local 8 end local 7 26: StackMap locals:
StackMap stack:
iinc 6 2
StackMap locals:
StackMap stack:
27: iload 6
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 11
end local 6 28: aload 2
invokeinterface sun.jvm.hotspot.oops.HeapVisitor.epilogue:()V
29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 30 1 liveRegions Ljava/util/List<Lsun/jvm/hotspot/debugger/Address;>;
0 30 2 visitor Lsun/jvm/hotspot/oops/HeapVisitor;
0 30 3 of Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;
1 30 4 totalSize J
2 8 6 i I
4 6 7 bottom Lsun/jvm/hotspot/debugger/Address;
5 6 8 top Lsun/jvm/hotspot/debugger/Address;
10 28 6 i I
12 26 7 bottom Lsun/jvm/hotspot/debugger/Address;
13 26 8 top Lsun/jvm/hotspot/debugger/Address;
14 24 9 handle Lsun/jvm/hotspot/debugger/OopHandle;
16 23 10 obj Lsun/jvm/hotspot/oops/Oop;
Exception table:
from to target type
13 24 25 Class sun.jvm.hotspot.debugger.AddressException
13 24 25 Class sun.jvm.hotspot.oops.UnknownOopException
13 24 25 Class sun.jvm.hotspot.types.WrongTypeException
Signature: (Ljava/util/List<Lsun/jvm/hotspot/debugger/Address;>;Lsun/jvm/hotspot/oops/HeapVisitor;Lsun/jvm/hotspot/oops/ObjectHeap$ObjectFilter;)V
MethodParameters:
Name Flags
liveRegions
visitor
of
private java.util.List<sun.jvm.hotspot.debugger.Address> collectLiveRegions();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new sun.jvm.hotspot.oops.ObjectHeap$LiveRegionsCollector
dup
aload 1
invokespecial sun.jvm.hotspot.oops.ObjectHeap$LiveRegionsCollector.<init>:(Ljava/util/List;)V
astore 2
start local 2 2: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getUniverse:()Lsun/jvm/hotspot/memory/Universe;
invokevirtual sun.jvm.hotspot.memory.Universe.heap:()Lsun/jvm/hotspot/gc/shared/CollectedHeap;
astore 3
start local 3 3: aload 3
aload 2
invokevirtual sun.jvm.hotspot.gc.shared.CollectedHeap.liveRegionsIterate:(Lsun/jvm/hotspot/gc/shared/LiveRegionsClosure;)V
4: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getUseTLAB:()Z
ifeq 27
5: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getThreads:()Lsun/jvm/hotspot/runtime/Threads;
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 26
8: StackMap locals: sun.jvm.hotspot.oops.ObjectHeap java.util.List sun.jvm.hotspot.oops.ObjectHeap$LiveRegionsCollector sun.jvm.hotspot.gc.shared.CollectedHeap sun.jvm.hotspot.runtime.Threads int
StackMap stack:
aload 4
iload 5
invokevirtual sun.jvm.hotspot.runtime.Threads.getJavaThreadAt:(I)Lsun/jvm/hotspot/runtime/JavaThread;
astore 6
start local 6 9: aload 6
invokevirtual sun.jvm.hotspot.runtime.JavaThread.tlab:()Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
astore 7
start local 7 10: aload 7
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.start:()Lsun/jvm/hotspot/debugger/Address;
ifnull 25
11: aload 7
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.top:()Lsun/jvm/hotspot/debugger/Address;
ifnull 12
aload 7
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.end:()Lsun/jvm/hotspot/debugger/Address;
ifnonnull 16
12: StackMap locals: sun.jvm.hotspot.runtime.JavaThread sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Warning: skipping invalid TLAB for thread "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
13: aload 6
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.runtime.JavaThread.printThreadIDOn:(Ljava/io/PrintStream;)V
14: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
15: goto 25
16: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.oops.ObjectHeap.DEBUG:Z
ifeq 21
17: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "TLAB for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual sun.jvm.hotspot.runtime.JavaThread.getThreadName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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
18: aload 6
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.runtime.JavaThread.printThreadIDOn:(Ljava/io/PrintStream;)V
19: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc ": "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
20: aload 7
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.printOn:(Ljava/io/PrintStream;)V
21: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.start:()Lsun/jvm/hotspot/debugger/Address;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 1
aload 7
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.start:()Lsun/jvm/hotspot/debugger/Address;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: aload 1
aload 7
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.top:()Lsun/jvm/hotspot/debugger/Address;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: aload 1
aload 7
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.hardEnd:()Lsun/jvm/hotspot/debugger/Address;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 25: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
26: iload 5
aload 4
invokevirtual sun.jvm.hotspot.runtime.Threads.getNumberOfThreads:()I
if_icmplt 8
end local 5 end local 4 27: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.oops.ObjectHeap.sortLiveRegions:(Ljava/util/List;)V
28: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 32
29: aload 1
invokeinterface java.util.List.size:()I
iconst_2
irem
ifne 30
iconst_1
goto 31
StackMap locals:
StackMap stack:
30: iconst_0
StackMap locals:
StackMap stack: int
31: ldc "Must have even number of region boundaries"
invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
32: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.oops.ObjectHeap.DEBUG:Z
ifeq 41
33: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "liveRegions:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: iconst_0
istore 4
start local 4 35: goto 40
36: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 5
start local 5 37: aload 1
iload 4
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Address
astore 6
start local 6 38: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 6 end local 5 39: iinc 4 2
StackMap locals:
StackMap stack:
40: iload 4
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 36
end local 4 41: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
1 42 1 liveRegions Ljava/util/List<Lsun/jvm/hotspot/debugger/Address;>;
2 42 2 lrc Lsun/jvm/hotspot/oops/ObjectHeap$LiveRegionsCollector;
3 42 3 heap Lsun/jvm/hotspot/gc/shared/CollectedHeap;
6 27 4 threads Lsun/jvm/hotspot/runtime/Threads;
7 27 5 i I
9 25 6 thread Lsun/jvm/hotspot/runtime/JavaThread;
10 25 7 tlab Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
35 41 4 i I
37 39 5 bottom Lsun/jvm/hotspot/debugger/Address;
38 39 6 top Lsun/jvm/hotspot/debugger/Address;
Signature: ()Ljava/util/List<Lsun/jvm/hotspot/debugger/Address;>;
private void sortLiveRegions(java.util.List<sun.jvm.hotspot.debugger.Address>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new sun.jvm.hotspot.oops.ObjectHeap$3
dup
aload 0
invokespecial sun.jvm.hotspot.oops.ObjectHeap$3.<init>:(Lsun/jvm/hotspot/oops/ObjectHeap;)V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/ObjectHeap;
0 2 1 liveRegions Ljava/util/List<Lsun/jvm/hotspot/debugger/Address;>;
Signature: (Ljava/util/List<Lsun/jvm/hotspot/debugger/Address;>;)V
MethodParameters:
Name Flags
liveRegions
}
SourceFile: "ObjectHeap.java"
NestMembers:
sun.jvm.hotspot.oops.ObjectHeap$1 sun.jvm.hotspot.oops.ObjectHeap$2 sun.jvm.hotspot.oops.ObjectHeap$3 sun.jvm.hotspot.oops.ObjectHeap$LiveRegionsCollector sun.jvm.hotspot.oops.ObjectHeap$ObjectFilter
InnerClasses:
sun.jvm.hotspot.oops.ObjectHeap$1
sun.jvm.hotspot.oops.ObjectHeap$2
sun.jvm.hotspot.oops.ObjectHeap$3
private LiveRegionsCollector = sun.jvm.hotspot.oops.ObjectHeap$LiveRegionsCollector of sun.jvm.hotspot.oops.ObjectHeap
public abstract ObjectFilter = sun.jvm.hotspot.oops.ObjectHeap$ObjectFilter of sun.jvm.hotspot.oops.ObjectHeap