public class org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest extends org.graalvm.compiler.replacements.test.MethodSubstitutionTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest
super_class: org.graalvm.compiler.replacements.test.MethodSubstitutionTest
{
static jdk.internal.misc.Unsafe unsafe;
descriptor: Ljdk/internal/misc/Unsafe;
flags: (0x0008) ACC_STATIC
static org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container dummyValue;
descriptor: Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
flags: (0x0008) ACC_STATIC
static org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container newDummyValue;
descriptor: Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
flags: (0x0008) ACC_STATIC
static long booleanOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static long byteOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static long charOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static long shortOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static long intOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static long longOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static long floatOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static long doubleOffset;
descriptor: J
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
1: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.dummyValue:Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
2: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.newDummyValue:Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
3: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "booleanField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
4: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "byteField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
5: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "charField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
6: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "shortField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
7: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "intField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
8: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "longField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
9: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "floatField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
10: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
ldc Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
ldc "doubleField"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/reflect/Field;)J
putstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
11: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldException
12: astore 0
start local 0 13: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 14: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
13 14 0 e Ljava/lang/NoSuchFieldException;
Exception table:
from to target type
3 11 12 Class java.lang.NoSuchFieldException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.replacements.test.MethodSubstitutionTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
public static boolean unsafeCompareAndSetBoolean();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
iconst_0
iconst_1
invokevirtual jdk.internal.misc.Unsafe.compareAndSetBoolean:(Ljava/lang/Object;JZZ)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndSetByte();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
bipush 17
bipush 121
invokevirtual jdk.internal.misc.Unsafe.compareAndSetByte:(Ljava/lang/Object;JBB)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndSetChar();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
sipush 1025
sipush 1777
invokevirtual jdk.internal.misc.Unsafe.compareAndSetChar:(Ljava/lang/Object;JCC)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndSetShort();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 2232
sipush 12111
invokevirtual jdk.internal.misc.Unsafe.compareAndSetShort:(Ljava/lang/Object;JSS)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndSetInt();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc -889275714
ldc -1161889030
invokevirtual jdk.internal.misc.Unsafe.compareAndSetInt:(Ljava/lang/Object;JII)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndSetLong();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 245031017052922
ldc -361749448860442918
invokevirtual jdk.internal.misc.Unsafe.compareAndSetLong:(Ljava/lang/Object;JJJ)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndSetFloat();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
ldc 0.125
ldc 0.25
invokevirtual jdk.internal.misc.Unsafe.compareAndSetFloat:(Ljava/lang/Object;JFF)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndSetDouble();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
ldc 0.125
ldc 0.25
invokevirtual jdk.internal.misc.Unsafe.compareAndSetDouble:(Ljava/lang/Object;JDD)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeCompareAndExchangeBoolean();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
iconst_0
iconst_1
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeBoolean:(Ljava/lang/Object;JZZ)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static byte unsafeCompareAndExchangeByte();
descriptor: ()B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
bipush 17
bipush 31
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeByte:(Ljava/lang/Object;JBB)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static char unsafeCompareAndExchangeChar();
descriptor: ()C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
sipush 1025
sipush 4502
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeChar:(Ljava/lang/Object;JCC)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static short unsafeCompareAndExchangeShort();
descriptor: ()S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 2232
sipush 8121
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeShort:(Ljava/lang/Object;JSS)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeCompareAndExchangeInt();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc -889275714
ldc -1161889030
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeInt:(Ljava/lang/Object;JII)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static long unsafeCompareAndExchangeLong();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 245031017052922
ldc -361749448860442918
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeLong:(Ljava/lang/Object;JJJ)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static float unsafeCompareAndExchangeFloat();
descriptor: ()F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
ldc 0.125
ldc 0.25
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeFloat:(Ljava/lang/Object;JFF)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static double unsafeCompareAndExchangeDouble();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
ldc 0.125
ldc 0.25
invokevirtual jdk.internal.misc.Unsafe.compareAndExchangeDouble:(Ljava/lang/Object;JDD)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public void testCompareAndSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public static int unsafeGetAndAddByte();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
iconst_2
invokevirtual jdk.internal.misc.Unsafe.getAndAddByte:(Ljava/lang/Object;JB)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetAndAddChar();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
sipush 250
invokevirtual jdk.internal.misc.Unsafe.getAndAddChar:(Ljava/lang/Object;JC)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetAndAddShort();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 1250
invokevirtual jdk.internal.misc.Unsafe.getAndAddShort:(Ljava/lang/Object;JS)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetAndAddInt();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc 104501
invokevirtual jdk.internal.misc.Unsafe.getAndAddInt:(Ljava/lang/Object;JI)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static long unsafeGetAndAddLong();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 78187506637
invokevirtual jdk.internal.misc.Unsafe.getAndAddLong:(Ljava/lang/Object;JJ)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public void testGetAndAdd();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public static boolean unsafeGetAndSetBoolean();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
iconst_1
invokevirtual jdk.internal.misc.Unsafe.getAndSetBoolean:(Ljava/lang/Object;JZ)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static byte unsafeGetAndSetByte();
descriptor: ()B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
bipush -127
invokevirtual jdk.internal.misc.Unsafe.getAndSetByte:(Ljava/lang/Object;JB)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static char unsafeGetAndSetChar();
descriptor: ()C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
sipush 21111
invokevirtual jdk.internal.misc.Unsafe.getAndSetChar:(Ljava/lang/Object;JC)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static short unsafeGetAndSetShort();
descriptor: ()S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 21111
invokevirtual jdk.internal.misc.Unsafe.getAndSetShort:(Ljava/lang/Object;JS)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetAndSetInt();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc 1193135
invokevirtual jdk.internal.misc.Unsafe.getAndSetInt:(Ljava/lang/Object;JI)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static long unsafeGetAndSetLong();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 78187493547
invokevirtual jdk.internal.misc.Unsafe.getAndSetLong:(Ljava/lang/Object;JJ)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public void testGetAndSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public static void fieldInstance();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$JdkInternalMiscUnsafeAccessTestBoolean.testFieldInstance:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void testFieldInstance();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public static void array();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$JdkInternalMiscUnsafeAccessTestBoolean.testArray:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void testArray();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public static void fieldStatic();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$JdkInternalMiscUnsafeAccessTestBoolean.testFieldStatic:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void testFieldStatic();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public static void assertEquals(java.lang.Object, java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
if_acmpeq 2
1: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " - seen: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 seen Ljava/lang/Object;
0 3 1 expected Ljava/lang/Object;
0 3 2 message Ljava/lang/String;
MethodParameters:
Name Flags
seen
expected
message
public static boolean unsafeGetPutBoolean();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
iconst_1
invokevirtual jdk.internal.misc.Unsafe.putBoolean:(Ljava/lang/Object;JZ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
invokevirtual jdk.internal.misc.Unsafe.getBoolean:(Ljava/lang/Object;J)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static byte unsafeGetPutByte();
descriptor: ()B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
bipush 18
invokevirtual jdk.internal.misc.Unsafe.putByte:(Ljava/lang/Object;JB)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
invokevirtual jdk.internal.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static short unsafeGetPutShort();
descriptor: ()S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 4660
invokevirtual jdk.internal.misc.Unsafe.putShort:(Ljava/lang/Object;JS)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
invokevirtual jdk.internal.misc.Unsafe.getShort:(Ljava/lang/Object;J)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static char unsafeGetPutChar();
descriptor: ()C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
bipush 120
invokevirtual jdk.internal.misc.Unsafe.putChar:(Ljava/lang/Object;JC)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
invokevirtual jdk.internal.misc.Unsafe.getChar:(Ljava/lang/Object;J)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetPutInt();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc 19088743
invokevirtual jdk.internal.misc.Unsafe.putInt:(Ljava/lang/Object;JI)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
invokevirtual jdk.internal.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static long unsafeGetPutLong();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 1311768467294899695
invokevirtual jdk.internal.misc.Unsafe.putLong:(Ljava/lang/Object;JJ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
invokevirtual jdk.internal.misc.Unsafe.getLong:(Ljava/lang/Object;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static float unsafeGetPutFloat();
descriptor: ()F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
ldc 1.234
invokevirtual jdk.internal.misc.Unsafe.putFloat:(Ljava/lang/Object;JF)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
invokevirtual jdk.internal.misc.Unsafe.getFloat:(Ljava/lang/Object;J)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static double unsafeGetPutDouble();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
ldc 1.23456789
invokevirtual jdk.internal.misc.Unsafe.putDouble:(Ljava/lang/Object;JD)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
invokevirtual jdk.internal.misc.Unsafe.getDouble:(Ljava/lang/Object;J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeGetPutBooleanOpaque();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
iconst_1
invokevirtual jdk.internal.misc.Unsafe.putBooleanOpaque:(Ljava/lang/Object;JZ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
invokevirtual jdk.internal.misc.Unsafe.getBooleanOpaque:(Ljava/lang/Object;J)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static byte unsafeGetPutByteOpaque();
descriptor: ()B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
bipush 18
invokevirtual jdk.internal.misc.Unsafe.putByteOpaque:(Ljava/lang/Object;JB)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
invokevirtual jdk.internal.misc.Unsafe.getByteOpaque:(Ljava/lang/Object;J)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static short unsafeGetPutShortOpaque();
descriptor: ()S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 4660
invokevirtual jdk.internal.misc.Unsafe.putShortOpaque:(Ljava/lang/Object;JS)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
invokevirtual jdk.internal.misc.Unsafe.getShortOpaque:(Ljava/lang/Object;J)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static char unsafeGetPutCharOpaque();
descriptor: ()C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
bipush 120
invokevirtual jdk.internal.misc.Unsafe.putCharOpaque:(Ljava/lang/Object;JC)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
invokevirtual jdk.internal.misc.Unsafe.getCharOpaque:(Ljava/lang/Object;J)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetPutIntOpaque();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc 19088743
invokevirtual jdk.internal.misc.Unsafe.putIntOpaque:(Ljava/lang/Object;JI)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
invokevirtual jdk.internal.misc.Unsafe.getIntOpaque:(Ljava/lang/Object;J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static long unsafeGetPutLongOpaque();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 1311768467294899695
invokevirtual jdk.internal.misc.Unsafe.putLongOpaque:(Ljava/lang/Object;JJ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
invokevirtual jdk.internal.misc.Unsafe.getLongOpaque:(Ljava/lang/Object;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static float unsafeGetPutFloatOpaque();
descriptor: ()F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
ldc 1.234
invokevirtual jdk.internal.misc.Unsafe.putFloatOpaque:(Ljava/lang/Object;JF)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
invokevirtual jdk.internal.misc.Unsafe.getFloatOpaque:(Ljava/lang/Object;J)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static double unsafeGetPutDoubleOpaque();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
ldc 1.23456789
invokevirtual jdk.internal.misc.Unsafe.putDoubleOpaque:(Ljava/lang/Object;JD)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
invokevirtual jdk.internal.misc.Unsafe.getDoubleOpaque:(Ljava/lang/Object;J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeGetPutBooleanRA();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
iconst_1
invokevirtual jdk.internal.misc.Unsafe.putBooleanRelease:(Ljava/lang/Object;JZ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
invokevirtual jdk.internal.misc.Unsafe.getBooleanAcquire:(Ljava/lang/Object;J)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static byte unsafeGetPutByteRA();
descriptor: ()B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
bipush 18
invokevirtual jdk.internal.misc.Unsafe.putByteRelease:(Ljava/lang/Object;JB)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
invokevirtual jdk.internal.misc.Unsafe.getByteAcquire:(Ljava/lang/Object;J)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static short unsafeGetPutShortRA();
descriptor: ()S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 4660
invokevirtual jdk.internal.misc.Unsafe.putShortRelease:(Ljava/lang/Object;JS)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
invokevirtual jdk.internal.misc.Unsafe.getShortAcquire:(Ljava/lang/Object;J)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static char unsafeGetPutCharRA();
descriptor: ()C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
bipush 120
invokevirtual jdk.internal.misc.Unsafe.putCharRelease:(Ljava/lang/Object;JC)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
invokevirtual jdk.internal.misc.Unsafe.getCharAcquire:(Ljava/lang/Object;J)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetPutIntRA();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc 19088743
invokevirtual jdk.internal.misc.Unsafe.putIntRelease:(Ljava/lang/Object;JI)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
invokevirtual jdk.internal.misc.Unsafe.getIntAcquire:(Ljava/lang/Object;J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static long unsafeGetPutLongRA();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 1311768467294899695
invokevirtual jdk.internal.misc.Unsafe.putLongRelease:(Ljava/lang/Object;JJ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
invokevirtual jdk.internal.misc.Unsafe.getLongAcquire:(Ljava/lang/Object;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static float unsafeGetPutFloatRA();
descriptor: ()F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
ldc 1.234
invokevirtual jdk.internal.misc.Unsafe.putFloatRelease:(Ljava/lang/Object;JF)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
invokevirtual jdk.internal.misc.Unsafe.getFloatAcquire:(Ljava/lang/Object;J)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static double unsafeGetPutDoubleRA();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
ldc 1.23456789
invokevirtual jdk.internal.misc.Unsafe.putDoubleRelease:(Ljava/lang/Object;JD)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
invokevirtual jdk.internal.misc.Unsafe.getDoubleAcquire:(Ljava/lang/Object;J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static boolean unsafeGetPutBooleanVolatile();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
iconst_1
invokevirtual jdk.internal.misc.Unsafe.putBooleanVolatile:(Ljava/lang/Object;JZ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.booleanOffset:J
invokevirtual jdk.internal.misc.Unsafe.getBooleanVolatile:(Ljava/lang/Object;J)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static byte unsafeGetPutByteVolatile();
descriptor: ()B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
bipush 18
invokevirtual jdk.internal.misc.Unsafe.putByteVolatile:(Ljava/lang/Object;JB)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.byteOffset:J
invokevirtual jdk.internal.misc.Unsafe.getByteVolatile:(Ljava/lang/Object;J)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static short unsafeGetPutShortVolatile();
descriptor: ()S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
sipush 4660
invokevirtual jdk.internal.misc.Unsafe.putShortVolatile:(Ljava/lang/Object;JS)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.shortOffset:J
invokevirtual jdk.internal.misc.Unsafe.getShortVolatile:(Ljava/lang/Object;J)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static char unsafeGetPutCharVolatile();
descriptor: ()C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
bipush 120
invokevirtual jdk.internal.misc.Unsafe.putCharVolatile:(Ljava/lang/Object;JC)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.charOffset:J
invokevirtual jdk.internal.misc.Unsafe.getCharVolatile:(Ljava/lang/Object;J)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static int unsafeGetPutIntVolatile();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
ldc 19088743
invokevirtual jdk.internal.misc.Unsafe.putIntVolatile:(Ljava/lang/Object;JI)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.intOffset:J
invokevirtual jdk.internal.misc.Unsafe.getIntVolatile:(Ljava/lang/Object;J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static long unsafeGetPutLongVolatile();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
ldc 1311768467294899695
invokevirtual jdk.internal.misc.Unsafe.putLongVolatile:(Ljava/lang/Object;JJ)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.longOffset:J
invokevirtual jdk.internal.misc.Unsafe.getLongVolatile:(Ljava/lang/Object;J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static float unsafeGetPutFloatVolatile();
descriptor: ()F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
ldc 1.234
invokevirtual jdk.internal.misc.Unsafe.putFloatVolatile:(Ljava/lang/Object;JF)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.floatOffset:J
invokevirtual jdk.internal.misc.Unsafe.getFloatVolatile:(Ljava/lang/Object;J)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public static double unsafeGetPutDoubleVolatile();
descriptor: ()D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container
dup
invokespecial org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container.<init>:()V
astore 0
start local 0 1: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
ldc 1.23456789
invokevirtual jdk.internal.misc.Unsafe.putDoubleVolatile:(Ljava/lang/Object;JD)V
2: getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.unsafe:Ljdk/internal/misc/Unsafe;
aload 0
getstatic org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest.doubleOffset:J
invokevirtual jdk.internal.misc.Unsafe.getDoubleVolatile:(Ljava/lang/Object;J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 container Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest$Container;
public void testUnsafeGetPutPlain();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public void testUnsafeGetPutOpaque();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public void testUnsafeGetPutReleaseAcquire();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
public void testUnsafeGetPutVolatile();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/UnsafeReplacementsTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "UnsafeReplacementsTest.java"
NestMembers:
org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$JdkInternalMiscUnsafeAccessTestBoolean
InnerClasses:
Container = org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$Container of org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest
public JdkInternalMiscUnsafeAccessTestBoolean = org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest$JdkInternalMiscUnsafeAccessTestBoolean of org.graalvm.compiler.replacements.jdk9.test.UnsafeReplacementsTest
RuntimeVisibleAnnotations:
org.graalvm.compiler.test.AddExports(value = {"java.base/jdk.internal.misc"})