public class org.graalvm.compiler.core.common.Fields
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.common.Fields
super_class: java.lang.Object
{
protected final long[] offsets;
descriptor: [J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final java.lang.String[] names;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<?>[] types;
descriptor: [Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private final java.lang.Class<?>[] declaringClasses;
descriptor: [Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
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 Lorg/graalvm/compiler/core/common/Fields;
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 org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.core.common.Fields forClass(java.lang.Class<?>, java.lang.Class<?>, boolean, org.graalvm.compiler.core.common.FieldsScanner$CalcOffset);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;ZLorg/graalvm/compiler/core/common/FieldsScanner$CalcOffset;)Lorg/graalvm/compiler/core/common/Fields;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.graalvm.compiler.core.common.FieldsScanner
dup
aload 3
ifnonnull 1
new org.graalvm.compiler.core.common.FieldsScanner$DefaultCalcOffset
dup
invokespecial org.graalvm.compiler.core.common.FieldsScanner$DefaultCalcOffset.<init>:()V
goto 2
StackMap locals: java.lang.Class java.lang.Class int org.graalvm.compiler.core.common.FieldsScanner$CalcOffset
StackMap stack: new 0 new 0
1: aload 3
StackMap locals: java.lang.Class java.lang.Class int org.graalvm.compiler.core.common.FieldsScanner$CalcOffset
StackMap stack: new 0 new 0 org.graalvm.compiler.core.common.FieldsScanner$CalcOffset
2: invokespecial org.graalvm.compiler.core.common.FieldsScanner.<init>:(Lorg/graalvm/compiler/core/common/FieldsScanner$CalcOffset;)V
astore 4
start local 4 3: aload 4
aload 0
aload 1
iload 2
invokevirtual org.graalvm.compiler.core.common.FieldsScanner.scan:(Ljava/lang/Class;Ljava/lang/Class;Z)V
4: new org.graalvm.compiler.core.common.Fields
dup
aload 4
getfield org.graalvm.compiler.core.common.FieldsScanner.data:Ljava/util/ArrayList;
invokespecial org.graalvm.compiler.core.common.Fields.<init>:(Ljava/util/ArrayList;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 clazz Ljava/lang/Class<*>;
0 5 1 endClazz Ljava/lang/Class<*>;
0 5 2 includeTransient Z
0 5 3 calcOffset Lorg/graalvm/compiler/core/common/FieldsScanner$CalcOffset;
3 5 4 scanner Lorg/graalvm/compiler/core/common/FieldsScanner;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;ZLorg/graalvm/compiler/core/common/FieldsScanner$CalcOffset;)Lorg/graalvm/compiler/core/common/Fields;
MethodParameters:
Name Flags
clazz
endClazz
includeTransient
calcOffset
public void <init>(java.util.ArrayList<? extends org.graalvm.compiler.core.common.FieldsScanner$FieldInfo>);
descriptor: (Ljava/util/ArrayList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
2: aload 0
aload 1
invokevirtual java.util.ArrayList.size:()I
newarray 11
putfield org.graalvm.compiler.core.common.Fields.offsets:[J
3: aload 0
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
arraylength
anewarray java.lang.String
putfield org.graalvm.compiler.core.common.Fields.names:[Ljava/lang/String;
4: aload 0
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
arraylength
anewarray java.lang.Class
putfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
5: aload 0
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
arraylength
anewarray java.lang.Class
putfield org.graalvm.compiler.core.common.Fields.declaringClasses:[Ljava/lang/Class;
6: iconst_0
istore 2
start local 2 7: aload 1
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: org.graalvm.compiler.core.common.Fields java.util.ArrayList int top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.FieldsScanner$FieldInfo
astore 3
start local 3 9: aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
aload 3
getfield org.graalvm.compiler.core.common.FieldsScanner$FieldInfo.offset:J
lastore
10: aload 0
getfield org.graalvm.compiler.core.common.Fields.names:[Ljava/lang/String;
iload 2
aload 3
getfield org.graalvm.compiler.core.common.FieldsScanner$FieldInfo.name:Ljava/lang/String;
aastore
11: aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aload 3
getfield org.graalvm.compiler.core.common.FieldsScanner$FieldInfo.type:Ljava/lang/Class;
aastore
12: aload 0
getfield org.graalvm.compiler.core.common.Fields.declaringClasses:[Ljava/lang/Class;
iload 2
aload 3
getfield org.graalvm.compiler.core.common.FieldsScanner$FieldInfo.declaringClass:Ljava/lang/Class;
aastore
13: iinc 2 1
end local 3 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/core/common/Fields;
0 16 1 fields Ljava/util/ArrayList<+Lorg/graalvm/compiler/core/common/FieldsScanner$FieldInfo;>;
7 16 2 index I
9 14 3 f Lorg/graalvm/compiler/core/common/FieldsScanner$FieldInfo;
Signature: (Ljava/util/ArrayList<+Lorg/graalvm/compiler/core/common/FieldsScanner$FieldInfo;>;)V
MethodParameters:
Name Flags
fields
public int getCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/Fields;
public static void translateInto(org.graalvm.compiler.core.common.Fields, java.util.ArrayList<org.graalvm.compiler.core.common.FieldsScanner$FieldInfo>);
descriptor: (Lorg/graalvm/compiler/core/common/Fields;Ljava/util/ArrayList;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 1
new org.graalvm.compiler.core.common.FieldsScanner$FieldInfo
dup
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
aload 0
getfield org.graalvm.compiler.core.common.Fields.names:[Ljava/lang/String;
iload 2
aaload
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
aload 0
getfield org.graalvm.compiler.core.common.Fields.declaringClasses:[Ljava/lang/Class;
iload 2
aaload
invokespecial org.graalvm.compiler.core.common.FieldsScanner$FieldInfo.<init>:(JLjava/lang/String;Ljava/lang/Class;Ljava/lang/Class;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 0
invokevirtual org.graalvm.compiler.core.common.Fields.getCount:()I
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 fields Lorg/graalvm/compiler/core/common/Fields;
0 6 1 infos Ljava/util/ArrayList<Lorg/graalvm/compiler/core/common/FieldsScanner$FieldInfo;>;
1 5 2 index I
Signature: (Lorg/graalvm/compiler/core/common/Fields;Ljava/util/ArrayList<Lorg/graalvm/compiler/core/common/FieldsScanner$FieldInfo;>;)V
MethodParameters:
Name Flags
fields
infos
public void copy(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)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
aconst_null
invokevirtual org.graalvm.compiler.core.common.Fields.copy:(Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/core/common/Fields$ObjectTransformer;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 from Ljava/lang/Object;
0 2 2 to Ljava/lang/Object;
MethodParameters:
Name Flags
from
to
public void copy(java.lang.Object, java.lang.Object, org.graalvm.compiler.core.common.Fields$ObjectTransformer);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lorg/graalvm/compiler/core/common/Fields$ObjectTransformer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 2: goto 36
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 4
laload
lstore 5
start local 5 4: aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 4
aaload
astore 7
start local 7 5: aload 7
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 31
6: aload 7
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 9
7: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
invokevirtual sun.misc.Unsafe.putInt:(Ljava/lang/Object;JI)V
8: goto 35
StackMap locals: long java.lang.Class
StackMap stack:
9: aload 7
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 12
10: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getLong:(Ljava/lang/Object;J)J
invokevirtual sun.misc.Unsafe.putLong:(Ljava/lang/Object;JJ)V
11: goto 35
StackMap locals:
StackMap stack:
12: aload 7
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 15
13: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getBoolean:(Ljava/lang/Object;J)Z
invokevirtual sun.misc.Unsafe.putBoolean:(Ljava/lang/Object;JZ)V
14: goto 35
StackMap locals:
StackMap stack:
15: aload 7
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 18
16: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getFloat:(Ljava/lang/Object;J)F
invokevirtual sun.misc.Unsafe.putFloat:(Ljava/lang/Object;JF)V
17: goto 35
StackMap locals:
StackMap stack:
18: aload 7
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 21
19: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getDouble:(Ljava/lang/Object;J)D
invokevirtual sun.misc.Unsafe.putDouble:(Ljava/lang/Object;JD)V
20: goto 35
StackMap locals:
StackMap stack:
21: aload 7
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 24
22: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getShort:(Ljava/lang/Object;J)S
invokevirtual sun.misc.Unsafe.putShort:(Ljava/lang/Object;JS)V
23: goto 35
StackMap locals:
StackMap stack:
24: aload 7
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 27
25: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
invokevirtual sun.misc.Unsafe.putChar:(Ljava/lang/Object;JC)V
26: goto 35
StackMap locals:
StackMap stack:
27: aload 7
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 30
28: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
invokevirtual sun.misc.Unsafe.putByte:(Ljava/lang/Object;JB)V
29: goto 35
30: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 35
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unhandled property type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
31: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
invokevirtual sun.misc.Unsafe.getObject:(Ljava/lang/Object;J)Ljava/lang/Object;
astore 8
start local 8 32: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 2
lload 5
aload 3
ifnonnull 33
aload 8
goto 34
StackMap locals: org.graalvm.compiler.core.common.Fields java.lang.Object java.lang.Object org.graalvm.compiler.core.common.Fields$ObjectTransformer int long java.lang.Class java.lang.Object
StackMap stack: sun.misc.Unsafe java.lang.Object long
33: aload 3
iload 4
aload 8
invokeinterface org.graalvm.compiler.core.common.Fields$ObjectTransformer.apply:(ILjava/lang/Object;)Ljava/lang/Object;
StackMap locals: org.graalvm.compiler.core.common.Fields java.lang.Object java.lang.Object org.graalvm.compiler.core.common.Fields$ObjectTransformer int long java.lang.Class java.lang.Object
StackMap stack: sun.misc.Unsafe java.lang.Object long java.lang.Object
34: invokevirtual sun.misc.Unsafe.putObject:(Ljava/lang/Object;JLjava/lang/Object;)V
end local 8 end local 7 end local 5 35: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
36: iload 4
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
arraylength
if_icmplt 3
end local 4 37: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/graalvm/compiler/core/common/Fields;
0 38 1 from Ljava/lang/Object;
0 38 2 to Ljava/lang/Object;
0 38 3 trans Lorg/graalvm/compiler/core/common/Fields$ObjectTransformer;
2 37 4 index I
4 35 5 offset J
5 35 7 type Ljava/lang/Class<*>;
32 35 8 obj Ljava/lang/Object;
MethodParameters:
Name Flags
from
to
trans
public java.lang.Object get(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
lstore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
astore 5
start local 5 2: aconst_null
astore 6
start local 6 3: aload 5
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 29
4: aload 5
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 7
5: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 6
6: goto 30
StackMap locals: long java.lang.Class java.lang.Object
StackMap stack:
7: aload 5
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 10
8: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getLong:(Ljava/lang/Object;J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 6
9: goto 30
StackMap locals:
StackMap stack:
10: aload 5
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 13
11: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getBoolean:(Ljava/lang/Object;J)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 6
12: goto 30
StackMap locals:
StackMap stack:
13: aload 5
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 16
14: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getFloat:(Ljava/lang/Object;J)F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
astore 6
15: goto 30
StackMap locals:
StackMap stack:
16: aload 5
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 19
17: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getDouble:(Ljava/lang/Object;J)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
astore 6
18: goto 30
StackMap locals:
StackMap stack:
19: aload 5
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 22
20: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getShort:(Ljava/lang/Object;J)S
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
astore 6
21: goto 30
StackMap locals:
StackMap stack:
22: aload 5
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 25
23: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
astore 6
24: goto 30
StackMap locals:
StackMap stack:
25: aload 5
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 28
26: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
astore 6
27: goto 30
28: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 30
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unhandled property type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
29: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getObject:(Ljava/lang/Object;J)Ljava/lang/Object;
astore 6
30: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/graalvm/compiler/core/common/Fields;
0 31 1 object Ljava/lang/Object;
0 31 2 index I
1 31 3 offset J
2 31 5 type Ljava/lang/Class<*>;
3 31 6 value Ljava/lang/Object;
MethodParameters:
Name Flags
object
index
public long getRawPrimitive(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
lstore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
astore 5
start local 5 2: aload 5
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 4
3: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
i2l
lreturn
4: StackMap locals: long java.lang.Class
StackMap stack:
aload 5
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 6
5: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getLong:(Ljava/lang/Object;J)J
lreturn
6: StackMap locals:
StackMap stack:
aload 5
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 10
7: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getBoolean:(Ljava/lang/Object;J)Z
ifeq 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: i2l
lreturn
10: StackMap locals:
StackMap stack:
aload 5
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 12
11: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getFloat:(Ljava/lang/Object;J)F
invokestatic java.lang.Float.floatToRawIntBits:(F)I
i2l
lreturn
12: StackMap locals:
StackMap stack:
aload 5
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 14
13: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getDouble:(Ljava/lang/Object;J)D
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
lreturn
14: StackMap locals:
StackMap stack:
aload 5
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 16
15: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getShort:(Ljava/lang/Object;J)S
i2l
lreturn
16: StackMap locals:
StackMap stack:
aload 5
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 18
17: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
i2l
lreturn
18: StackMap locals:
StackMap stack:
aload 5
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 20
19: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 3
invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
i2l
lreturn
20: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/core/common/Fields;
0 21 1 object Ljava/lang/Object;
0 21 2 index I
1 21 3 offset J
2 21 5 type Ljava/lang/Class<*>;
MethodParameters:
Name Flags
object
index
public boolean isSame(org.graalvm.compiler.core.common.Fields, int);
descriptor: (Lorg/graalvm/compiler/core/common/Fields;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 other Lorg/graalvm/compiler/core/common/Fields;
0 2 2 index I
MethodParameters:
Name Flags
other
index
public long[] getOffsets();
descriptor: ()[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/Fields;
public java.lang.String getName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.names:[Ljava/lang/String;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/Fields;
0 1 1 index I
MethodParameters:
Name Flags
index
public java.lang.Class<?> getType(int);
descriptor: (I)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/Fields;
0 1 1 index I
Signature: (I)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
index
public java.lang.Class<?> getDeclaringClass(int);
descriptor: (I)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.declaringClasses:[Ljava/lang/Class;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/common/Fields;
0 1 1 index I
Signature: (I)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
index
private boolean checkAssignableFrom(java.lang.Object, int, java.lang.Object);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 3
aload 3
ifnull 3
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.Fields.getType:(I)Ljava/lang/Class;
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 3
new java.lang.AssertionError
dup
ldc "Field %s.%s of type %s is not assignable from %s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
1: aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.Fields.getName:(I)Ljava/lang/String;
aastore
dup
iconst_2
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.Fields.getType:(I)Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_3
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/common/Fields;
0 4 1 object Ljava/lang/Object;
0 4 2 index I
0 4 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
object
index
value
public void set(java.lang.Object, int, java.lang.Object);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
lstore 4
start local 4 1: aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
astore 6
start local 6 2: aload 6
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 28
3: aload 6
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 6
4: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual sun.misc.Unsafe.putInt:(Ljava/lang/Object;JI)V
5: goto 30
StackMap locals: long java.lang.Class
StackMap stack:
6: aload 6
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 9
7: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokevirtual sun.misc.Unsafe.putLong:(Ljava/lang/Object;JJ)V
8: goto 30
StackMap locals:
StackMap stack:
9: aload 6
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 12
10: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual sun.misc.Unsafe.putBoolean:(Ljava/lang/Object;JZ)V
11: goto 30
StackMap locals:
StackMap stack:
12: aload 6
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 15
13: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokevirtual sun.misc.Unsafe.putFloat:(Ljava/lang/Object;JF)V
14: goto 30
StackMap locals:
StackMap stack:
15: aload 6
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 18
16: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokevirtual sun.misc.Unsafe.putDouble:(Ljava/lang/Object;JD)V
17: goto 30
StackMap locals:
StackMap stack:
18: aload 6
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 21
19: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
invokevirtual sun.misc.Unsafe.putShort:(Ljava/lang/Object;JS)V
20: goto 30
StackMap locals:
StackMap stack:
21: aload 6
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 24
22: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
invokevirtual sun.misc.Unsafe.putChar:(Ljava/lang/Object;JC)V
23: goto 30
StackMap locals:
StackMap stack:
24: aload 6
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 27
25: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
checkcast java.lang.Byte
invokevirtual java.lang.Byte.byteValue:()B
invokevirtual sun.misc.Unsafe.putByte:(Ljava/lang/Object;JB)V
26: goto 30
27: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 30
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unhandled property type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
28: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 29
aload 0
aload 1
iload 2
aload 3
invokevirtual org.graalvm.compiler.core.common.Fields.checkAssignableFrom:(Ljava/lang/Object;ILjava/lang/Object;)Z
ifne 29
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
29: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 4
aload 3
invokevirtual sun.misc.Unsafe.putObject:(Ljava/lang/Object;JLjava/lang/Object;)V
30: StackMap locals:
StackMap stack:
return
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 31 0 this Lorg/graalvm/compiler/core/common/Fields;
0 31 1 object Ljava/lang/Object;
0 31 2 index I
0 31 3 value Ljava/lang/Object;
1 31 4 offset J
2 31 6 type Ljava/lang/Class<*>;
MethodParameters:
Name Flags
object
index
value
public void setRawPrimitive(java.lang.Object, int, long);
descriptor: (Ljava/lang/Object;IJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
lstore 5
start local 5 1: aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
astore 7
start local 7 2: aload 7
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 5
3: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
l2i
invokevirtual sun.misc.Unsafe.putInt:(Ljava/lang/Object;JI)V
4: goto 29
StackMap locals: long java.lang.Class
StackMap stack:
5: aload 7
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 8
6: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
invokevirtual sun.misc.Unsafe.putLong:(Ljava/lang/Object;JJ)V
7: goto 29
StackMap locals:
StackMap stack:
8: aload 7
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 13
9: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
lconst_0
lcmp
ifeq 10
iconst_1
goto 11
StackMap locals: org.graalvm.compiler.core.common.Fields java.lang.Object int long long java.lang.Class
StackMap stack: sun.misc.Unsafe java.lang.Object long
10: iconst_0
StackMap locals: org.graalvm.compiler.core.common.Fields java.lang.Object int long long java.lang.Class
StackMap stack: sun.misc.Unsafe java.lang.Object long int
11: invokevirtual sun.misc.Unsafe.putBoolean:(Ljava/lang/Object;JZ)V
12: goto 29
StackMap locals:
StackMap stack:
13: aload 7
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 16
14: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
l2i
invokestatic java.lang.Float.intBitsToFloat:(I)F
invokevirtual sun.misc.Unsafe.putFloat:(Ljava/lang/Object;JF)V
15: goto 29
StackMap locals:
StackMap stack:
16: aload 7
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 19
17: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
invokestatic java.lang.Double.longBitsToDouble:(J)D
invokevirtual sun.misc.Unsafe.putDouble:(Ljava/lang/Object;JD)V
18: goto 29
StackMap locals:
StackMap stack:
19: aload 7
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpne 22
20: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
l2i
i2s
invokevirtual sun.misc.Unsafe.putShort:(Ljava/lang/Object;JS)V
21: goto 29
StackMap locals:
StackMap stack:
22: aload 7
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpne 25
23: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
l2i
i2c
invokevirtual sun.misc.Unsafe.putChar:(Ljava/lang/Object;JC)V
24: goto 29
StackMap locals:
StackMap stack:
25: aload 7
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpne 28
26: getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
lload 5
lload 3
l2i
i2b
invokevirtual sun.misc.Unsafe.putByte:(Ljava/lang/Object;JB)V
27: goto 29
28: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
29: StackMap locals:
StackMap stack:
return
end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/graalvm/compiler/core/common/Fields;
0 30 1 object Ljava/lang/Object;
0 30 2 index I
0 30 3 value J
1 30 5 offset J
2 30 7 type Ljava/lang/Class<*>;
MethodParameters:
Name Flags
object
index
value
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.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.common.Fields.appendFields:(Ljava/lang/StringBuilder;)V
2: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)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 3 0 this Lorg/graalvm/compiler/core/common/Fields;
1 3 1 sb Ljava/lang/StringBuilder;
public void appendFields(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
ifne 3
ldc ""
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
3: ldc ", "
StackMap locals: org.graalvm.compiler.core.common.Fields java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.Fields.getDeclaringClass:(I)Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
iload 2
invokevirtual org.graalvm.compiler.core.common.Fields.getName:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 64
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
arraylength
if_icmplt 2
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/core/common/Fields;
0 8 1 sb Ljava/lang/StringBuilder;
1 7 2 i I
MethodParameters:
Name Flags
sb
public boolean getBoolean(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getBoolean:(Ljava/lang/Object;J)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public byte getByte(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public short getShort(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getShort:(Ljava/lang/Object;J)S
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public char getChar(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public int getInt(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public long getLong(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getLong:(Ljava/lang/Object;J)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public float getFloat(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getFloat:(Ljava/lang/Object;J)F
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public double getDouble(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getDouble:(Ljava/lang/Object;J)D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 n Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
n
i
public java.lang.Object getObject(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.types:[Ljava/lang/Class;
iload 2
aaload
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
invokevirtual sun.misc.Unsafe.getObject:(Ljava/lang/Object;J)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/common/Fields;
0 2 1 object Ljava/lang/Object;
0 2 2 i I
MethodParameters:
Name Flags
object
i
public void putObject(java.lang.Object, int, java.lang.Object);
descriptor: (Ljava/lang/Object;ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.core.common.Fields.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
iload 2
aload 3
invokevirtual org.graalvm.compiler.core.common.Fields.checkAssignableFrom:(Ljava/lang/Object;ILjava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.common.UnsafeAccess.UNSAFE:Lsun/misc/Unsafe;
aload 1
aload 0
getfield org.graalvm.compiler.core.common.Fields.offsets:[J
iload 2
laload
aload 3
invokevirtual sun.misc.Unsafe.putObject:(Ljava/lang/Object;JLjava/lang/Object;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/common/Fields;
0 3 1 object Ljava/lang/Object;
0 3 2 i I
0 3 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
object
i
value
}
SourceFile: "Fields.java"
NestMembers:
org.graalvm.compiler.core.common.Fields$ObjectTransformer
InnerClasses:
public abstract ObjectTransformer = org.graalvm.compiler.core.common.Fields$ObjectTransformer of org.graalvm.compiler.core.common.Fields
public abstract CalcOffset = org.graalvm.compiler.core.common.FieldsScanner$CalcOffset of org.graalvm.compiler.core.common.FieldsScanner
public DefaultCalcOffset = org.graalvm.compiler.core.common.FieldsScanner$DefaultCalcOffset of org.graalvm.compiler.core.common.FieldsScanner
public FieldInfo = org.graalvm.compiler.core.common.FieldsScanner$FieldInfo of org.graalvm.compiler.core.common.FieldsScanner