public class org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest 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.OffHeapUnsafeAccessTest
  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 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
         0: .line 37
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;

  public byte unboxByteAndStore(long, byte[]);
    descriptor: (J[B)B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
        start local 1 // long memory
        start local 3 // byte[] box
         0: .line 40
            aload 3 /* box */
            iconst_0
            baload
            istore 4 /* val */
        start local 4 // byte val
         1: .line 41
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            lload 1 /* memory */
            iload 4 /* val */
            invokevirtual sun.misc.Unsafe.putByte:(JB)V
         2: .line 42
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            aconst_null
            lload 1 /* memory */
            iload 4 /* val */
            invokevirtual sun.misc.Unsafe.putByte:(Ljava/lang/Object;JB)V
         3: .line 43
            aload 3 /* box */
            iconst_0
            baload
            ireturn
        end local 4 // byte val
        end local 3 // byte[] box
        end local 1 // long memory
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
            0    4     1  memory  J
            0    4     3     box  [B
            1    4     4     val  B
    MethodParameters:
        Name  Flags
      memory  
      box     

  public char unboxCharAndStore(long, char[]);
    descriptor: (J[C)C
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
        start local 1 // long memory
        start local 3 // char[] box
         0: .line 47
            aload 3 /* box */
            iconst_0
            caload
            istore 4 /* val */
        start local 4 // char val
         1: .line 48
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            lload 1 /* memory */
            iload 4 /* val */
            invokevirtual sun.misc.Unsafe.putChar:(JC)V
         2: .line 49
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            aconst_null
            lload 1 /* memory */
            iload 4 /* val */
            invokevirtual sun.misc.Unsafe.putChar:(Ljava/lang/Object;JC)V
         3: .line 50
            aload 3 /* box */
            iconst_0
            caload
            ireturn
        end local 4 // char val
        end local 3 // char[] box
        end local 1 // long memory
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
            0    4     1  memory  J
            0    4     3     box  [C
            1    4     4     val  C
    MethodParameters:
        Name  Flags
      memory  
      box     

  public int unboxIntAndStore(long, int[]);
    descriptor: (J[I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
        start local 1 // long memory
        start local 3 // int[] box
         0: .line 54
            aload 3 /* box */
            iconst_0
            iaload
            istore 4 /* val */
        start local 4 // int val
         1: .line 55
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            lload 1 /* memory */
            iload 4 /* val */
            invokevirtual sun.misc.Unsafe.putInt:(JI)V
         2: .line 56
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            aconst_null
            lload 1 /* memory */
            iload 4 /* val */
            invokevirtual sun.misc.Unsafe.putInt:(Ljava/lang/Object;JI)V
         3: .line 57
            aload 3 /* box */
            iconst_0
            iaload
            ireturn
        end local 4 // int val
        end local 3 // int[] box
        end local 1 // long memory
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
            0    4     1  memory  J
            0    4     3     box  [I
            1    4     4     val  I
    MethodParameters:
        Name  Flags
      memory  
      box     

  public long unboxLongAndStore(long, long[]);
    descriptor: (J[J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=3
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
        start local 1 // long memory
        start local 3 // long[] box
         0: .line 61
            aload 3 /* box */
            iconst_0
            laload
            lstore 4 /* val */
        start local 4 // long val
         1: .line 62
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            lload 1 /* memory */
            lload 4 /* val */
            invokevirtual sun.misc.Unsafe.putLong:(JJ)V
         2: .line 63
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            aconst_null
            lload 1 /* memory */
            lload 4 /* val */
            invokevirtual sun.misc.Unsafe.putLong:(Ljava/lang/Object;JJ)V
         3: .line 64
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            lload 1 /* memory */
            lload 4 /* val */
            invokevirtual sun.misc.Unsafe.putAddress:(JJ)V
         4: .line 65
            aload 3 /* box */
            iconst_0
            laload
            lreturn
        end local 4 // long val
        end local 3 // long[] box
        end local 1 // long memory
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
            0    5     1  memory  J
            0    5     3     box  [J
            1    5     4     val  J
    MethodParameters:
        Name  Flags
      memory  
      box     

  public float unboxFloatAndStore(long, float[]);
    descriptor: (J[F)F
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
        start local 1 // long memory
        start local 3 // float[] box
         0: .line 69
            aload 3 /* box */
            iconst_0
            faload
            fstore 4 /* val */
        start local 4 // float val
         1: .line 70
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            lload 1 /* memory */
            fload 4 /* val */
            invokevirtual sun.misc.Unsafe.putFloat:(JF)V
         2: .line 71
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            aconst_null
            lload 1 /* memory */
            fload 4 /* val */
            invokevirtual sun.misc.Unsafe.putFloat:(Ljava/lang/Object;JF)V
         3: .line 72
            aload 3 /* box */
            iconst_0
            faload
            freturn
        end local 4 // float val
        end local 3 // float[] box
        end local 1 // long memory
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
            0    4     1  memory  J
            0    4     3     box  [F
            1    4     4     val  F
    MethodParameters:
        Name  Flags
      memory  
      box     

  public double unboxDoubleAndStore(long, double[]);
    descriptor: (J[D)D
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=3
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
        start local 1 // long memory
        start local 3 // double[] box
         0: .line 76
            aload 3 /* box */
            iconst_0
            daload
            dstore 4 /* val */
        start local 4 // double val
         1: .line 77
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            lload 1 /* memory */
            dload 4 /* val */
            invokevirtual sun.misc.Unsafe.putDouble:(JD)V
         2: .line 78
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            aconst_null
            lload 1 /* memory */
            dload 4 /* val */
            invokevirtual sun.misc.Unsafe.putDouble:(Ljava/lang/Object;JD)V
         3: .line 79
            aload 3 /* box */
            iconst_0
            daload
            dreturn
        end local 4 // double val
        end local 3 // double[] box
        end local 1 // long memory
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
            0    4     1  memory  J
            0    4     3     box  [D
            1    4     4     val  D
    MethodParameters:
        Name  Flags
      memory  
      box     

  private void assertExactlyOneArrayLoad(jdk.vm.ci.meta.JavaKind);
    descriptor: (Ljdk/vm/ci/meta/JavaKind;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
         0: .line 89
            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
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
    MethodParameters:
             Name  Flags
      elementKind  

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

  protected long allocBuf();
    descriptor: ()J
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
         0: .line 122
            getstatic org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest.UNSAFE:Lsun/misc/Unsafe;
            ldc 16
            invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
         1: lreturn
         2: .line 123
      StackMap locals:
      StackMap stack: java.lang.OutOfMemoryError
            pop
         3: .line 124
            lconst_0
            lreturn
        end local 0 // org.graalvm.compiler.core.test.OffHeapUnsafeAccessTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/core/test/OffHeapUnsafeAccessTest;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.OutOfMemoryError
}
SourceFile: "OffHeapUnsafeAccessTest.java"