public class org.graalvm.compiler.replacements.jdk9.test.VarHandleTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.jdk9.test.VarHandleTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
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.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest;
public static int testRead1Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.VOLATILE_FIELD:Ljava/lang/invoke/VarHandle;
aload 0
invokevirtual java.lang.invoke.VarHandle.get:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
public static int testRead2Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.VOLATILE_FIELD:Ljava/lang/invoke/VarHandle;
aload 0
invokevirtual java.lang.invoke.VarHandle.getVolatile:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
public static int testRead3Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.FIELD:Ljava/lang/invoke/VarHandle;
aload 0
invokevirtual java.lang.invoke.VarHandle.get:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
public static int testRead4Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.FIELD:Ljava/lang/invoke/VarHandle;
aload 0
invokevirtual java.lang.invoke.VarHandle.getVolatile:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
public static void testWrite1Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.VOLATILE_FIELD:Ljava/lang/invoke/VarHandle;
aload 0
bipush 123
invokevirtual java.lang.invoke.VarHandle.set:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
public static void testWrite2Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.VOLATILE_FIELD:Ljava/lang/invoke/VarHandle;
aload 0
bipush 123
invokevirtual java.lang.invoke.VarHandle.setVolatile:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
public static void testWrite3Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.FIELD:Ljava/lang/invoke/VarHandle;
aload 0
bipush 123
invokevirtual java.lang.invoke.VarHandle.set:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
public static void testWrite4Snippet(org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder);
descriptor: (Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder.FIELD:Ljava/lang/invoke/VarHandle;
aload 0
bipush 123
invokevirtual java.lang.invoke.VarHandle.setVolatile:(Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 h Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest$Holder;
MethodParameters:
Name Flags
h
void testAccess(java.lang.String, int, int, int, int);
descriptor: (Ljava/lang/String;IIII)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=6
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\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/VarHandleTest;
MethodParameters:
Name Flags
name
expectedReads
expectedWrites
expectedMembars
expectedAnyKill
private boolean volatileAccessLowered();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.replacements.jdk9.test.VarHandleTest.getTarget:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
instanceof jdk.vm.ci.aarch64.AArch64
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest;
private int numberOfExpectedMembars();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.replacements.jdk9.test.VarHandleTest.volatileAccessLowered:()Z
ifeq 1
iconst_2
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest;
private int numberOfExpectedKills();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.replacements.jdk9.test.VarHandleTest.volatileAccessLowered:()Z
ifeq 1
iconst_2
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/jdk9/test/VarHandleTest;
public void testRead1();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
public void testRead2();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
public void testRead3();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
public void testRead4();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
public void testWrite1();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
public void testWrite2();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
public void testWrite3();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
public void testWrite4();
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/VarHandleTest;
RuntimeInvisibleAnnotations:
Test()
private static int countAnyKill(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
graph
}
SourceFile: "VarHandleTest.java"
NestMembers:
org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder
InnerClasses:
Holder = org.graalvm.compiler.replacements.jdk9.test.VarHandleTest$Holder of org.graalvm.compiler.replacements.jdk9.test.VarHandleTest