public class org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt
super_class: java.lang.Object
{
public int x;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int y;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int z;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public static final long fieldOffset1;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long fieldOffset2;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean firstFieldIsX;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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=6, locals=2, args_size=0
0: ldc Lorg/graalvm/compiler/core/test/ea/EATestBase;
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.test.ea.EATestBase$TestClassInt.$assertionsDisabled:Z
3: getstatic org.graalvm.compiler.core.test.ea.EATestBase.UNSAFE:Lsun/misc/Unsafe;
ldc Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
ldc "x"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
lstore 0
start local 0 4: lload 0
ldc 8
lrem
lconst_0
lcmp
ifne 9
5: lload 0
putstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.fieldOffset1:J
6: getstatic org.graalvm.compiler.core.test.ea.EATestBase.UNSAFE:Lsun/misc/Unsafe;
ldc Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
ldc "y"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.fieldOffset2:J
7: iconst_1
putstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.firstFieldIsX:Z
8: goto 12
9: StackMap locals: long
StackMap stack:
getstatic org.graalvm.compiler.core.test.ea.EATestBase.UNSAFE:Lsun/misc/Unsafe;
ldc Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
ldc "y"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.fieldOffset1:J
10: getstatic org.graalvm.compiler.core.test.ea.EATestBase.UNSAFE:Lsun/misc/Unsafe;
ldc Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
ldc "z"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual sun.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.fieldOffset2:J
11: iconst_0
putstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.firstFieldIsX:Z
12: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.$assertionsDisabled:Z
ifne 15
getstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.fieldOffset2:J
getstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.fieldOffset1:J
ldc 4
ladd
lcmp
ifeq 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 13: StackMap locals:
StackMap stack: java.lang.Exception
astore 0
start local 0 14: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 15: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
4 13 0 localFieldOffset1 J
14 15 0 e Ljava/lang/Exception;
Exception table:
from to target type
3 13 13 Class java.lang.Exception
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
iconst_0
invokespecial org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.<init>:(II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
invokespecial org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.<init>:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
0 2 1 x I
MethodParameters:
Name Flags
x
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
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
iload 1
putfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.x:I
2: aload 0
iload 2
putfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.y:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
0 4 1 x I
0 4 2 y I
MethodParameters:
Name Flags
x
y
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.x:I
aload 2
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.x:I
if_icmpne 2
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.y:I
aload 2
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.y:I
if_icmpne 2
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.z:I
aload 2
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.z:I
if_icmpne 2
iconst_1
ireturn
StackMap locals: org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
0 3 1 obj Ljava/lang/Object;
1 3 2 other Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
MethodParameters:
Name Flags
obj
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 "{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.x:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.y:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.z:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "}"
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 Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.x:I
bipush 13
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.y:I
imul
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
public void setFirstField(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.firstFieldIsX:Z
ifeq 3
1: aload 0
iload 1
putfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.x:I
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.y:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
0 5 1 v I
MethodParameters:
Name Flags
v
public void setSecondField(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.firstFieldIsX:Z
ifeq 3
1: aload 0
iload 1
putfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.y:I
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt.z:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase$TestClassInt;
0 5 1 v I
MethodParameters:
Name Flags
v
}
SourceFile: "EATestBase.java"
NestHost: org.graalvm.compiler.core.test.ea.EATestBase
InnerClasses:
public TestClassInt = org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt of org.graalvm.compiler.core.test.ea.EATestBase