public class com.sun.tools.hat.internal.model.JavaObjectArray extends com.sun.tools.hat.internal.model.JavaLazyReadObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.hat.internal.model.JavaObjectArray
super_class: com.sun.tools.hat.internal.model.JavaLazyReadObject
{
private java.lang.Object clazz;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public void <init>(long, long);
descriptor: (JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 3
invokespecial com.sun.tools.hat.internal.model.JavaLazyReadObject.<init>:(J)V
1: aload 0
lload 1
invokestatic com.sun.tools.hat.internal.model.JavaObjectArray.makeId:(J)Ljava/lang/Number;
putfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
0 3 1 classID J
0 3 3 offset J
MethodParameters:
Name Flags
classID
offset
public com.sun.tools.hat.internal.model.JavaClass getClazz();
descriptor: ()Lcom/sun/tools/hat/internal/model/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.model.JavaClass
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
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=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
instanceof com.sun.tools.hat.internal.model.JavaClass
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
checkcast java.lang.Number
invokestatic com.sun.tools.hat.internal.model.JavaObjectArray.getIdValue:(Ljava/lang/Number;)J
lstore 2
start local 2 3: aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.isNewStyleArrayClass:()Z
ifeq 7
4: aload 1
lload 2
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
instanceof com.sun.tools.hat.internal.model.JavaClass
ifeq 7
6: aload 0
aload 4
checkcast com.sun.tools.hat.internal.model.JavaClass
putfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
end local 4 7: StackMap locals: long
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
instanceof com.sun.tools.hat.internal.model.JavaClass
ifne 15
8: aload 1
lload 2
invokevirtual com.sun.tools.hat.internal.model.Snapshot.findThing:(J)Lcom/sun/tools/hat/internal/model/JavaHeapObject;
astore 4
start local 4 9: aload 4
ifnull 15
aload 4
instanceof com.sun.tools.hat.internal.model.JavaClass
ifeq 15
10: aload 4
checkcast com.sun.tools.hat.internal.model.JavaClass
astore 5
start local 5 11: aload 5
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getName:()Ljava/lang/String;
astore 6
start local 6 12: aload 6
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 14
13: new java.lang.StringBuilder
dup
ldc "L"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getName:()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;
astore 6
14: StackMap locals: com.sun.tools.hat.internal.model.JavaThing com.sun.tools.hat.internal.model.JavaClass java.lang.String
StackMap stack:
aload 0
aload 1
aload 6
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getArrayClass:(Ljava/lang/String;)Lcom/sun/tools/hat/internal/model/JavaClass;
putfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
end local 6 end local 5 end local 4 15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
instanceof com.sun.tools.hat.internal.model.JavaClass
ifne 17
16: aload 0
aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getOtherArrayType:()Lcom/sun/tools/hat/internal/model/JavaClass;
putfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.hat.internal.model.JavaObjectArray.clazz:Ljava/lang/Object;
checkcast com.sun.tools.hat.internal.model.JavaClass
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaClass.addInstance:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
18: aload 0
aload 1
invokespecial com.sun.tools.hat.internal.model.JavaLazyReadObject.resolve:(Lcom/sun/tools/hat/internal/model/Snapshot;)V
19: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
0 20 1 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
3 20 2 classID J
5 7 4 t Lcom/sun/tools/hat/internal/model/JavaThing;
9 15 4 t Lcom/sun/tools/hat/internal/model/JavaThing;
11 15 5 el Lcom/sun/tools/hat/internal/model/JavaClass;
12 15 6 nm Ljava/lang/String;
MethodParameters:
Name Flags
snapshot
public com.sun.tools.hat.internal.model.JavaThing[] getValues();
descriptor: ()[Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getElements:()[Lcom/sun/tools/hat/internal/model/JavaThing;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
public com.sun.tools.hat.internal.model.JavaThing[] getElements();
descriptor: ()[Lcom/sun/tools/hat/internal/model/JavaThing;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getSnapshot:()Lcom/sun/tools/hat/internal/model/Snapshot;
astore 1
start local 1 1: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getValue:()[B
astore 2
start local 2 2: aload 1
invokevirtual com.sun.tools.hat.internal.model.Snapshot.getIdentifierSize:()I
istore 3
start local 3 3: aload 2
arraylength
iload 3
idiv
istore 4
start local 4 4: iload 4
anewarray com.sun.tools.hat.internal.model.JavaThing
astore 5
start local 5 5: iconst_0
istore 6
start local 6 6: iconst_0
istore 7
start local 7 7: goto 12
8: StackMap locals: com.sun.tools.hat.internal.model.JavaObjectArray com.sun.tools.hat.internal.model.Snapshot byte[] int int com.sun.tools.hat.internal.model.JavaThing[] int int
StackMap stack:
aload 0
iload 6
aload 2
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.objectIdAt:(I[B)J
lstore 8
start local 8 9: iload 6
iload 3
iadd
istore 6
10: aload 5
iload 7
aload 1
lload 8
invokevirtual com.sun.tools.hat.internal.model.Snapshot.findThing:(J)Lcom/sun/tools/hat/internal/model/JavaHeapObject;
aastore
end local 8 11: iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
aload 5
arraylength
if_icmplt 8
end local 7 13: aload 5
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
1 14 1 snapshot Lcom/sun/tools/hat/internal/model/Snapshot;
2 14 2 data [B
3 14 3 idSize I
4 14 4 numElements I
5 14 5 elements [Lcom/sun/tools/hat/internal/model/JavaThing;
6 14 6 index I
7 13 7 i I
9 11 8 id J
public int compareTo(com.sun.tools.hat.internal.model.JavaThing);
descriptor: (Lcom/sun/tools/hat/internal/model/JavaThing;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.tools.hat.internal.model.JavaObjectArray
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.sun.tools.hat.internal.model.JavaLazyReadObject.compareTo:(Lcom/sun/tools/hat/internal/model/JavaThing;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
0 3 1 other Lcom/sun/tools/hat/internal/model/JavaThing;
MethodParameters:
Name Flags
other
public int getLength();
descriptor: ()I
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.JavaObjectArray.getValueLength:()I
aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getIdentifierSize:()I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
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=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.tools.hat.internal.model.JavaLazyReadObject.visitReferencedObjects:(Lcom/sun/tools/hat/internal/model/JavaHeapObjectVisitor;)V
1: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getElements:()[Lcom/sun/tools/hat/internal/model/JavaThing;
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: com.sun.tools.hat.internal.model.JavaThing[] int
StackMap stack:
aload 2
iload 3
aaload
ifnull 6
aload 2
iload 3
aaload
instanceof com.sun.tools.hat.internal.model.JavaHeapObject
ifeq 6
5: aload 1
aload 2
iload 3
aaload
checkcast com.sun.tools.hat.internal.model.JavaHeapObject
invokeinterface com.sun.tools.hat.internal.model.JavaHeapObjectVisitor.visit:(Lcom/sun/tools/hat/internal/model/JavaHeapObject;)V
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
0 9 1 v Lcom/sun/tools/hat/internal/model/JavaHeapObjectVisitor;
2 9 2 elements [Lcom/sun/tools/hat/internal/model/JavaThing;
3 8 3 i I
MethodParameters:
Name Flags
v
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=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getElements:()[Lcom/sun/tools/hat/internal/model/JavaThing;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 6
3: StackMap locals: com.sun.tools.hat.internal.model.JavaThing[] int
StackMap stack:
aload 3
iload 4
aaload
aload 1
if_acmpne 5
4: new java.lang.StringBuilder
dup
ldc "Element "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 3
arraylength
if_icmplt 3
end local 4 7: aload 0
aload 1
aload 2
invokespecial com.sun.tools.hat.internal.model.JavaLazyReadObject.describeReferenceTo:(Lcom/sun/tools/hat/internal/model/JavaThing;Lcom/sun/tools/hat/internal/model/Snapshot;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
0 8 1 target Lcom/sun/tools/hat/internal/model/JavaThing;
0 8 2 ss Lcom/sun/tools/hat/internal/model/Snapshot;
1 8 3 elements [Lcom/sun/tools/hat/internal/model/JavaThing;
2 7 4 i I
MethodParameters:
Name Flags
target
ss
protected final int readValueLength();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
astore 1
start local 1 1: aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getReadBuffer:()Lcom/sun/tools/hat/internal/parser/ReadBuffer;
astore 2
start local 2 2: aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getIdentifierSize:()I
istore 3
start local 3 3: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getOffset:()J
iload 3
i2l
ladd
ldc 4
ladd
lstore 4
start local 4 4: aload 2
lload 4
invokeinterface com.sun.tools.hat.internal.parser.ReadBuffer.getInt:(J)I
istore 6
start local 6 5: iload 6
aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getIdentifierSize:()I
imul
ireturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
1 6 1 cl Lcom/sun/tools/hat/internal/model/JavaClass;
2 6 2 buf Lcom/sun/tools/hat/internal/parser/ReadBuffer;
3 6 3 idSize I
4 6 4 offset J
5 6 6 len I
Exceptions:
throws java.io.IOException
protected final byte[] readValue();
descriptor: ()[B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getClazz:()Lcom/sun/tools/hat/internal/model/JavaClass;
astore 1
start local 1 1: aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getReadBuffer:()Lcom/sun/tools/hat/internal/parser/ReadBuffer;
astore 2
start local 2 2: aload 1
invokevirtual com.sun.tools.hat.internal.model.JavaClass.getIdentifierSize:()I
istore 3
start local 3 3: aload 0
invokevirtual com.sun.tools.hat.internal.model.JavaObjectArray.getOffset:()J
iload 3
i2l
ladd
ldc 4
ladd
lstore 4
start local 4 4: aload 2
lload 4
invokeinterface com.sun.tools.hat.internal.parser.ReadBuffer.getInt:(J)I
istore 6
start local 6 5: iload 6
ifne 7
6: getstatic com.sun.tools.hat.internal.model.Snapshot.EMPTY_BYTE_ARRAY:[B
areturn
7: StackMap locals: com.sun.tools.hat.internal.model.JavaObjectArray com.sun.tools.hat.internal.model.JavaClass com.sun.tools.hat.internal.parser.ReadBuffer int long int
StackMap stack:
iload 6
iload 3
imul
newarray 8
astore 7
start local 7 8: aload 2
lload 4
ldc 4
ladd
iload 3
i2l
ladd
aload 7
invokeinterface com.sun.tools.hat.internal.parser.ReadBuffer.get:(J[B)V
9: aload 7
areturn
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/hat/internal/model/JavaObjectArray;
1 10 1 cl Lcom/sun/tools/hat/internal/model/JavaClass;
2 10 2 buf Lcom/sun/tools/hat/internal/parser/ReadBuffer;
3 10 3 idSize I
4 10 4 offset J
5 10 6 len I
8 10 7 res [B
Exceptions:
throws java.io.IOException
}
SourceFile: "JavaObjectArray.java"