public abstract class com.sun.tools.hat.internal.model.JavaHeapObject extends com.sun.tools.hat.internal.model.JavaThing
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tools.hat.internal.model.JavaHeapObject
super_class: com.sun.tools.hat.internal.model.JavaThing
{
private com.sun.tools.hat.internal.model.JavaThing[] referers;
descriptor: [Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0002) ACC_PRIVATE
private int referersLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.hat.internal.model.JavaThing.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
2: aload 0
iconst_0
putfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
public abstract com.sun.tools.hat.internal.model.JavaClass getClazz();
descriptor: ()Lcom/sun/tools/hat/internal/model/JavaClass;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getSize();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long getId();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void resolve(com.sun.tools.hat.internal.model.Snapshot);
descriptor: (Lcom/sun/tools/hat/internal/model/Snapshot;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getSiteTrace:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Lcom/sun/tools/hat/internal/model/StackTrace;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokevirtual com.sun.tools.hat.internal.model.StackTrace.resolve:(Lcom/sun/tools/hat/internal/model/Snapshot;)V
3: StackMap locals: com.sun.tools.hat.internal.model.StackTrace
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 4 1 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
1 4 2 trace Lcom/sun/tools/hat/internal/model/StackTrace;
MethodParameters:
Name Flags
snapshot
void setupReferers();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
iconst_1
if_icmple 10
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: java.util.Map int
StackMap stack:
aload 1
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
iload 2
aaload
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 6
5: aload 1
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
iload 2
aaload
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
iload 2
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
if_icmplt 4
end local 2 8: aload 0
aload 1
invokeinterface java.util.Map.size:()I
anewarray com.sun.tools.hat.internal.model.JavaThing
putfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
9: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
end local 1 10: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
2 10 1 map Ljava/util/Map<Lcom/sun/tools/hat/internal/model/JavaThing;Lcom/sun/tools/hat/internal/model/JavaThing;>;
3 8 2 i I
public java.lang.String getIdString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getId:()J
invokestatic com.sun.tools.hat.internal.util.Misc.toHex:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "@"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getIdString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
public com.sun.tools.hat.internal.model.StackTrace getAllocatedFrom();
descriptor: ()Lcom/sun/tools/hat/internal/model/StackTrace;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getSiteTrace:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Lcom/sun/tools/hat/internal/model/StackTrace;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
public boolean isNew();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.isNew:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
void setNew(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 0
iload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.setNew:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 2 1 flag Z
MethodParameters:
Name Flags
flag
public void visitReferencedObjects(com.sun.tools.hat.internal.model.JavaHeapObjectVisitor);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObjectVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.visit:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 2 1 v Lcom/sun/tools/hat/internal/model/JavaHeapObjectVisitor;
MethodParameters:
Name Flags
v
void addReferenceFrom(com.sun.tools.hat.internal.model.JavaHeapObject);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
ifne 3
1: aload 0
iconst_1
anewarray com.sun.tools.hat.internal.model.JavaThing
putfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
2: goto 7
StackMap locals:
StackMap stack:
3: aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
arraylength
if_icmpne 7
4: iconst_3
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
iconst_1
iadd
imul
iconst_2
idiv
anewarray com.sun.tools.hat.internal.model.JavaThing
astore 2
start local 2 5: aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
aload 2
putfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referers:[Lcom/sun/tools/hat/internal/model/JavaThing;
aload 0
dup
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
aload 1
aastore
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 9 1 other Lcom/sun/tools/hat/internal/model/JavaHeapObject;
5 7 2 copy [Lcom/sun/tools/hat/internal/model/JavaThing;
MethodParameters:
Name Flags
other
void addReferenceFromRoot(com.sun.tools.hat.internal.model.Root);
descriptor: (Lcom/sun/tools/hat/internal/model/Root;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 1
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.addReferenceFromRoot:(Lcom/sun/tools/hat/internal/model/Root;Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 2 1 r Lcom/sun/tools/hat/internal/model/Root;
MethodParameters:
Name Flags
r
public com.sun.tools.hat.internal.model.Root getRoot();
descriptor: ()Lcom/sun/tools/hat/internal/model/Root;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getRoot:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)Lcom/sun/tools/hat/internal/model/Root;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
public java.util.Enumeration getReferers();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaHeapObject.referersLen:I
iconst_m1
if_icmpeq 2
1: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "not resolved: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaHeapObject.getIdString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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:
new com.sun.tools.hat.internal.model.JavaHeapObject$1
dup
aload 0
invokespecial com.sun.tools.hat.internal.model.JavaHeapObject$1.<init>:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
public boolean refersOnlyWeaklyTo(com.sun.tools.hat.internal.model.Snapshot, com.sun.tools.hat.internal.model.JavaThing);
descriptor: (Lcom/sun/tools/hat/internal/model/Snapshot;Lcom/sun/tools/hat/internal/model/JavaThing;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 1 1 ss Lcom/sun/tools/hat/internal/model/Snapshot;
0 1 2 other Lcom/sun/tools/hat/internal/model/JavaThing;
MethodParameters:
Name Flags
ss
other
public java.lang.String describeReferenceTo(com.sun.tools.hat.internal.model.JavaThing, com.sun.tools.hat.internal.model.Snapshot);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaThing;Lcom/sun/tools/hat/internal/model/Snapshot;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "??"
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
0 1 1 target Lcom/sun/tools/hat/internal/model/JavaThing;
0 1 2 ss Lcom/sun/tools/hat/internal/model/Snapshot;
MethodParameters:
Name Flags
target
ss
public boolean isHeapAllocated();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaHeapObject;
}
SourceFile: "JavaHeapObject.java"
NestMembers:
com.sun.tools.hat.internal.model.JavaHeapObject$1
InnerClasses:
com.sun.tools.hat.internal.model.JavaHeapObject$1