public class com.sun.tools.hat.internal.model.JavaObjectRef extends com.sun.tools.hat.internal.model.JavaThing
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.hat.internal.model.JavaObjectRef
super_class: com.sun.tools.hat.internal.model.JavaThing
{
private long id;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.tools.hat.internal.model.JavaThing.<init>:()V
1: aload 0
lload 1
putfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/hat/internal/model/JavaObjectRef;
0 3 1 id J
MethodParameters:
Name Flags
id
public long getId();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaObjectRef;
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/JavaObjectRef;
public com.sun.tools.hat.internal.model.JavaThing dereference(com.sun.tools.hat.internal.model.Snapshot, com.sun.tools.hat.internal.model.JavaField);
descriptor: (Lcom/sun/tools/hat/internal/model/Snapshot;Lcom/sun/tools/hat/internal/model/JavaField;)Lcom/sun/tools/hat/internal/model/JavaThing;
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 com.sun.tools.hat.internal.model.JavaObjectRef.dereference:(Lcom/sun/tools/hat/internal/model/Snapshot;Lcom/sun/tools/hat/internal/model/JavaField;Z)Lcom/sun/tools/hat/internal/model/JavaThing;
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/JavaObjectRef;
0 1 1 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
0 1 2 field Lcom/sun/tools/hat/internal/model/JavaField;
MethodParameters:
Name Flags
snapshot
field
public com.sun.tools.hat.internal.model.JavaThing dereference(com.sun.tools.hat.internal.model.Snapshot, com.sun.tools.hat.internal.model.JavaField, boolean);
descriptor: (Lcom/sun/tools/hat/internal/model/Snapshot;Lcom/sun/tools/hat/internal/model/JavaField;Z)Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 2
aload 2
invokevirtual com.sun.tools.hat.internal.model.JavaField.hasId:()Z
ifne 2
1: new com.sun.tools.hat.internal.model.JavaLong
dup
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
invokespecial com.sun.tools.hat.internal.model.JavaLong.<init>:(J)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
lconst_0
lcmp
ifne 4
3: aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getNullThing:()Lcom/sun/tools/hat/internal/model/JavaThing;
areturn
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
invokevirtual com.sun.tools.hat.internal.model.Snapshot.findThing:(J)Lcom/sun/tools/hat/internal/model/JavaHeapObject;
astore 4
start local 4 5: aload 4
ifnonnull 18
6: aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getUnresolvedObjectsOK:()Z
ifne 15
iload 3
ifeq 15
7: new java.lang.StringBuilder
dup
ldc "WARNING: Failed to resolve object id "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
invokestatic com.sun.tools.hat.internal.util.Misc.toHex:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 10: aload 2
ifnull 14
11: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " for field "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual com.sun.tools.hat.internal.model.JavaField.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc " (signature "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual com.sun.tools.hat.internal.model.JavaField.getSignature:()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;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
14: StackMap locals: com.sun.tools.hat.internal.model.JavaThing java.lang.String
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 5 15: StackMap locals:
StackMap stack:
new com.sun.tools.hat.internal.model.HackJavaValue
dup
new java.lang.StringBuilder
dup
ldc "Unresolved object "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
invokestatic com.sun.tools.hat.internal.util.Misc.toHex:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
17: invokespecial com.sun.tools.hat.internal.model.HackJavaValue.<init>:(Ljava/lang/String;I)V
astore 4
18: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/tools/hat/internal/model/JavaObjectRef;
0 19 1 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
0 19 2 field Lcom/sun/tools/hat/internal/model/JavaField;
0 19 3 verbose Z
5 19 4 result Lcom/sun/tools/hat/internal/model/JavaThing;
10 15 5 msg Ljava/lang/String;
MethodParameters:
Name Flags
snapshot
field
verbose
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaObjectRef;
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
ldc "Unresolved object "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectRef.id:J
invokestatic com.sun.tools.hat.internal.util.Misc.toHex:(J)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/JavaObjectRef;
}
SourceFile: "JavaObjectRef.java"