public final class jdk.vm.ci.code.VirtualObject implements jdk.vm.ci.meta.JavaValue
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.code.VirtualObject
super_class: java.lang.Object
{
private final jdk.vm.ci.meta.ResolvedJavaType type;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.vm.ci.meta.JavaValue[] values;
descriptor: [Ljdk/vm/ci/meta/JavaValue;
flags: (0x0002) ACC_PRIVATE
private jdk.vm.ci.meta.JavaKind[] slotKinds;
descriptor: [Ljdk/vm/ci/meta/JavaKind;
flags: (0x0002) ACC_PRIVATE
private final int id;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/vm/ci/code/VirtualObject;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.vm.ci.code.VirtualObject.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.vm.ci.code.VirtualObject get(jdk.vm.ci.meta.ResolvedJavaType, int);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;I)Ljdk/vm/ci/code/VirtualObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.vm.ci.code.VirtualObject
dup
aload 0
iload 1
invokespecial jdk.vm.ci.code.VirtualObject.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 1 1 id I
MethodParameters:
Name Flags
type
id
private void <init>(jdk.vm.ci.meta.ResolvedJavaType, int);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
2: aload 0
iload 2
putfield jdk.vm.ci.code.VirtualObject.id:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/code/VirtualObject;
0 4 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 4 2 id I
MethodParameters:
Name Flags
type
id
private static java.lang.StringBuilder appendValue(java.lang.StringBuilder, jdk.vm.ci.meta.JavaValue, java.util.Set<jdk.vm.ci.code.VirtualObject>);
descriptor: (Ljava/lang/StringBuilder;Ljdk/vm/ci/meta/JavaValue;Ljava/util/Set;)Ljava/lang/StringBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof jdk.vm.ci.code.VirtualObject
ifeq 31
1: aload 1
checkcast jdk.vm.ci.code.VirtualObject
astore 3
start local 3 2: aload 0
ldc "vobject:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
iconst_0
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.toJavaName:(Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 3
getfield jdk.vm.ci.code.VirtualObject.id:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
3: aload 2
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 32
4: aload 2
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
bipush 123
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 3
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
ifnonnull 9
7: aload 0
ldc "<uninitialized>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 29
9: StackMap locals: jdk.vm.ci.code.VirtualObject
StackMap stack:
aload 3
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifeq 19
10: iconst_0
istore 4
start local 4 11: goto 17
12: StackMap locals: int
StackMap stack:
iload 4
ifeq 14
13: aload 0
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: aload 0
aload 3
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
iload 4
aaload
aload 2
invokestatic jdk.vm.ci.code.VirtualObject.appendValue:(Ljava/lang/StringBuilder;Ljdk/vm/ci/meta/JavaValue;Ljava/util/Set;)Ljava/lang/StringBuilder;
pop
16: iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
aload 3
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
arraylength
if_icmplt 12
end local 4 18: goto 29
19: StackMap locals:
StackMap stack:
aload 3
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
iconst_1
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getInstanceFields:(Z)[Ljdk/vm/ci/meta/ResolvedJavaField;
astore 4
start local 4 20: getstatic jdk.vm.ci.code.VirtualObject.$assertionsDisabled:Z
ifne 21
aload 4
arraylength
aload 3
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
arraylength
if_icmpeq 21
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 3
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", fields="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", values="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)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.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
21: StackMap locals: jdk.vm.ci.meta.ResolvedJavaField[]
StackMap stack:
iconst_0
istore 5
start local 5 22: goto 28
23: StackMap locals: int
StackMap stack:
iload 5
ifeq 25
24: aload 0
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
25: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
aaload
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
26: aload 0
aload 3
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
iload 5
aaload
aload 2
invokestatic jdk.vm.ci.code.VirtualObject.appendValue:(Ljava/lang/StringBuilder;Ljdk/vm/ci/meta/JavaValue;Ljava/util/Set;)Ljava/lang/StringBuilder;
pop
27: iinc 5 1
StackMap locals:
StackMap stack:
28: iload 5
aload 3
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
arraylength
if_icmplt 23
end local 5 end local 4 29: StackMap locals:
StackMap stack:
aload 0
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 30: goto 32
31: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
32: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 buf Ljava/lang/StringBuilder;
0 33 1 value Ljdk/vm/ci/meta/JavaValue;
0 33 2 visited Ljava/util/Set<Ljdk/vm/ci/code/VirtualObject;>;
2 30 3 vo Ljdk/vm/ci/code/VirtualObject;
11 18 4 i I
20 29 4 fields [Ljdk/vm/ci/meta/ResolvedJavaField;
22 29 5 i I
Signature: (Ljava/lang/StringBuilder;Ljdk/vm/ci/meta/JavaValue;Ljava/util/Set<Ljdk/vm/ci/code/VirtualObject;>;)Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buf
value
visited
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
aload 1
invokestatic jdk.vm.ci.code.VirtualObject.appendValue:(Ljava/lang/StringBuilder;Ljdk/vm/ci/meta/JavaValue;Ljava/util/Set;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/code/VirtualObject;
1 2 1 visited Ljava/util/Set<Ljdk/vm/ci/code/VirtualObject;>;
public jdk.vm.ci.meta.ResolvedJavaType getType();
descriptor: ()Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/VirtualObject;
public jdk.vm.ci.meta.JavaValue[] getValues();
descriptor: ()[Ljdk/vm/ci/meta/JavaValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/VirtualObject;
RuntimeInvisibleAnnotations:
jdk.vm.ci.code.SuppressFBWarnings(value = {"EI_EXPOSE_REP"}, justification = "`values` is intentional mutable")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN, location=[ARRAY_ELEMENT]
jdk.vm.ci.code.SuppressFBWarnings(value = {"EI_EXPOSE_REP"}, justification = "`values` is intentional mutable")
public jdk.vm.ci.meta.JavaKind getSlotKind(int);
descriptor: (I)Ljdk/vm/ci/meta/JavaKind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.vm.ci.code.VirtualObject.slotKinds:[Ljdk/vm/ci/meta/JavaKind;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/VirtualObject;
0 1 1 index I
MethodParameters:
Name Flags
index
public int getId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.code.VirtualObject.id:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/VirtualObject;
public void setValues(jdk.vm.ci.meta.JavaValue[], jdk.vm.ci.meta.JavaKind[]);
descriptor: ([Ljdk/vm/ci/meta/JavaValue;[Ljdk/vm/ci/meta/JavaKind;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.vm.ci.code.VirtualObject.$assertionsDisabled:Z
ifne 1
aload 1
arraylength
aload 2
arraylength
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
2: aload 0
aload 2
putfield jdk.vm.ci.code.VirtualObject.slotKinds:[Ljdk/vm/ci/meta/JavaKind;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/code/VirtualObject;
0 4 1 values [Ljdk/vm/ci/meta/JavaValue;
0 4 2 slotKinds [Ljdk/vm/ci/meta/JavaKind;
RuntimeInvisibleAnnotations:
jdk.vm.ci.code.SuppressFBWarnings(value = {"EI_EXPOSE_REP2"}, justification = "caller transfers ownership of `slotKinds`")
MethodParameters:
Name Flags
values
slotKinds
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 42
aload 0
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual java.lang.Object.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/code/VirtualObject;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.vm.ci.code.VirtualObject
ifeq 13
3: aload 1
checkcast jdk.vm.ci.code.VirtualObject
astore 2
start local 2 4: aload 2
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
aload 0
getfield jdk.vm.ci.code.VirtualObject.type:Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 2
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
arraylength
aload 0
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
arraylength
if_icmpeq 6
5: StackMap locals: jdk.vm.ci.code.VirtualObject
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
iload 3
aaload
aload 2
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
iload 3
aaload
invokestatic jdk.vm.ci.code.VirtualObject.same:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
getfield jdk.vm.ci.code.VirtualObject.values:[Ljdk/vm/ci/meta/JavaValue;
arraylength
if_icmplt 8
end local 3 12: iconst_1
ireturn
end local 2 13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/vm/ci/code/VirtualObject;
0 14 1 o Ljava/lang/Object;
4 13 2 l Ljdk/vm/ci/code/VirtualObject;
7 12 3 i I
MethodParameters:
Name Flags
o
private static boolean same(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 o1 Ljava/lang/Object;
0 2 1 o2 Ljava/lang/Object;
MethodParameters:
Name Flags
o1
o2
}
SourceFile: "VirtualObject.java"