public class org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest 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.core.test.VolatileAccessReadEliminationTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  private static int field;
    descriptor: I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private java.lang.Thread thread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0002) ACC_PRIVATE

  private static long[] array;
    descriptor: [J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static int arrayBaseOffset;
    descriptor: I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 41
            iconst_1
            newarray 11
            putstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.array:[J
         1: .line 44
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            ldc [J
            invokevirtual sun.misc.Unsafe.arrayBaseOffset:(Ljava/lang/Class;)I
            putstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.arrayBaseOffset:I
         2: .line 47
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
         0: .line 38
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/VolatileAccessReadEliminationTest;

  public static int testMethod1();
    descriptor: ()I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=1, args_size=0
         0: .line 50
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.field:I
            istore 0 /* v */
        start local 0 // int v
         1: .line 51
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.array:[J
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.arrayBaseOffset:I
            i2l
            lconst_1
            invokevirtual sun.misc.Unsafe.putLongVolatile:(Ljava/lang/Object;JJ)V
         2: .line 52
      StackMap locals: int
      StackMap stack:
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.array:[J
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.arrayBaseOffset:I
            i2l
            invokevirtual sun.misc.Unsafe.getLongVolatile:(Ljava/lang/Object;J)J
            ldc 2
            lcmp
            ifne 2
         3: .line 55
            iload 0 /* v */
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.field:I
            iadd
            ireturn
        end local 0 // int v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    4     0     v  I

  public void test1();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
         0: .line 58
            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 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/VolatileAccessReadEliminationTest;
    RuntimeInvisibleAnnotations: 
      Test()

  protected void before(jdk.vm.ci.meta.ResolvedJavaMethod);
    descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
        start local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
         0: .line 65
            iconst_0
            putstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.field:I
         1: .line 66
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.array:[J
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.arrayBaseOffset:I
            i2l
            lconst_0
            invokevirtual sun.misc.Unsafe.putLongVolatile:(Ljava/lang/Object;JJ)V
         2: .line 67
            aload 0 /* this */
            new org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest$1
            dup
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest$1.<init>:(Lorg/graalvm/compiler/core/test/VolatileAccessReadEliminationTest;)V
            putfield org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.thread:Ljava/lang/Thread;
         3: .line 77
            aload 0 /* this */
            getfield org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.thread:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.start:()V
         4: .line 78
            return
        end local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/graalvm/compiler/core/test/VolatileAccessReadEliminationTest;
            0    5     1  method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
    MethodParameters:
        Name  Flags
      method  

  protected void after();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
         0: .line 83
            aload 0 /* this */
            getfield org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.thread:Ljava/lang/Thread;
            invokevirtual java.lang.Thread.join:()V
         1: .line 84
            goto 3
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
         2: pop
         3: .line 86
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/core/test/VolatileAccessReadEliminationTest;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.InterruptedException

  public static int testMethod2(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // int offset
         0: .line 89
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.field:I
            istore 1 /* v */
        start local 1 // int v
         1: .line 90
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.array:[J
            iload 0 /* offset */
            i2l
            invokevirtual sun.misc.Unsafe.getLongVolatile:(Ljava/lang/Object;J)J
            lstore 2 /* v2 */
        start local 2 // long v2
         2: .line 91
            iload 1 /* v */
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.field:I
            iadd
            lload 2 /* v2 */
            l2i
            iadd
            ireturn
        end local 2 // long v2
        end local 1 // int v
        end local 0 // int offset
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0  offset  I
            1    3     1       v  I
            2    3     2      v2  J
    MethodParameters:
        Name  Flags
      offset  

  public void test2();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
         0: .line 94
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/VolatileAccessReadEliminationTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static int testMethod3(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // int offset
         0: .line 101
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.field:I
            istore 1 /* v */
        start local 1 // int v
         1: .line 102
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.array:[J
            iload 0 /* offset */
            i2l
            ldc 66
            invokevirtual sun.misc.Unsafe.putLongVolatile:(Ljava/lang/Object;JJ)V
         2: .line 103
            iload 1 /* v */
            getstatic org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest.field:I
            iadd
            ireturn
        end local 1 // int v
        end local 0 // int offset
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0  offset  I
            1    3     1       v  I
    MethodParameters:
        Name  Flags
      offset  

  public void test3();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
         0: .line 106
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/VolatileAccessReadEliminationTest;
    RuntimeInvisibleAnnotations: 
      Test()

  private static int getFieldReads(org.graalvm.compiler.nodes.StructuredGraph);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.nodes.StructuredGraph graph
         0: .line 113
            aload 0 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokedynamic apply()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Lorg/graalvm/compiler/graph/Node;)Z
                  org/graalvm/compiler/core/test/VolatileAccessReadEliminationTest.lambda$0(Lorg/graalvm/compiler/graph/Node;)Z (6)
                  (Lorg/graalvm/compiler/graph/Node;)Z
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
            invokedynamic apply()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Lorg/graalvm/compiler/graph/Node;)Z
                  org/graalvm/compiler/core/test/VolatileAccessReadEliminationTest.lambda$1(Lorg/graalvm/compiler/graph/Node;)Z (6)
                  (Lorg/graalvm/compiler/graph/Node;)Z
            invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
         1: .line 116
            invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.count:()I
         2: .line 113
            ireturn
        end local 0 // org.graalvm.compiler.nodes.StructuredGraph graph
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0  graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
    MethodParameters:
       Name  Flags
      graph  

  private static boolean lambda$0(org.graalvm.compiler.graph.Node);
    descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.graph.Node n
         0: .line 113
            aload 0 /* n */
            instanceof org.graalvm.compiler.nodes.memory.ReadNode
            ireturn
        end local 0 // org.graalvm.compiler.graph.Node n
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     n  Lorg/graalvm/compiler/graph/Node;

  private static boolean lambda$1(org.graalvm.compiler.graph.Node);
    descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.graph.Node n
         0: .line 114
            aload 0 /* n */
            checkcast org.graalvm.compiler.nodes.memory.ReadNode
            getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
            invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
            astore 1 /* stamp */
        start local 1 // org.graalvm.compiler.core.common.type.Stamp stamp
         1: .line 115
            aload 1 /* stamp */
            instanceof org.graalvm.compiler.core.common.type.IntegerStamp
            ifeq 2
            aload 1 /* stamp */
            checkcast org.graalvm.compiler.core.common.type.IntegerStamp
            invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
            bipush 32
            if_icmpne 2
            iconst_1
            ireturn
      StackMap locals: org.graalvm.compiler.core.common.type.Stamp
      StackMap stack:
         2: iconst_0
            ireturn
        end local 1 // org.graalvm.compiler.core.common.type.Stamp stamp
        end local 0 // org.graalvm.compiler.graph.Node n
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0      n  Lorg/graalvm/compiler/graph/Node;
            1    3     1  stamp  Lorg/graalvm/compiler/core/common/type/Stamp;
}
SourceFile: "VolatileAccessReadEliminationTest.java"
NestMembers:
  org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest$1
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  org.graalvm.compiler.core.test.VolatileAccessReadEliminationTest$1