public final class org.graalvm.nativeimage.UnmanagedMemory
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.graalvm.nativeimage.UnmanagedMemory
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.nativeimage.UnmanagedMemory this
         0: .line 59
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 60
            return
        end local 0 // org.graalvm.nativeimage.UnmanagedMemory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/nativeimage/UnmanagedMemory;

  public static <T extends org.graalvm.word.PointerBase> T malloc(org.graalvm.word.UnsignedWord);
    descriptor: (Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.graalvm.word.UnsignedWord size
         0: .line 72
            ldc Lorg/graalvm/nativeimage/impl/UnmanagedMemorySupport;
            invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast org.graalvm.nativeimage.impl.UnmanagedMemorySupport
            aload 0 /* size */
            invokeinterface org.graalvm.nativeimage.impl.UnmanagedMemorySupport.malloc:(Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
            astore 1 /* result */
        start local 1 // org.graalvm.word.PointerBase result
         1: .line 73
            aload 1 /* result */
            invokeinterface org.graalvm.word.PointerBase.isNull:()Z
            ifeq 3
         2: .line 74
            new java.lang.OutOfMemoryError
            dup
            ldc "malloc of unmanaged memory"
            invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 76
      StackMap locals: org.graalvm.word.PointerBase
      StackMap stack:
            aload 1 /* result */
            areturn
        end local 1 // org.graalvm.word.PointerBase result
        end local 0 // org.graalvm.word.UnsignedWord size
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    size  Lorg/graalvm/word/UnsignedWord;
            1    4     1  result  TT;
    Signature: <T::Lorg/graalvm/word/PointerBase;>(Lorg/graalvm/word/UnsignedWord;)TT;
    MethodParameters:
      Name  Flags
      size  

  public static <T extends org.graalvm.word.PointerBase> T malloc();
    descriptor: (I)Lorg/graalvm/word/PointerBase;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int size
         0: .line 89
            iload 0 /* size */
            invokestatic org.graalvm.word.WordFactory.unsigned:(I)Lorg/graalvm/word/UnsignedWord;
            invokestatic org.graalvm.nativeimage.UnmanagedMemory.malloc:(Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
            areturn
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  size  I
    Signature: <T::Lorg/graalvm/word/PointerBase;>(I)TT;
    MethodParameters:
      Name  Flags
      size  

  public static <T extends org.graalvm.word.PointerBase> T calloc(org.graalvm.word.UnsignedWord);
    descriptor: (Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.graalvm.word.UnsignedWord size
         0: .line 102
            ldc Lorg/graalvm/nativeimage/impl/UnmanagedMemorySupport;
            invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast org.graalvm.nativeimage.impl.UnmanagedMemorySupport
            aload 0 /* size */
            invokeinterface org.graalvm.nativeimage.impl.UnmanagedMemorySupport.calloc:(Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
            astore 1 /* result */
        start local 1 // org.graalvm.word.PointerBase result
         1: .line 103
            aload 1 /* result */
            invokeinterface org.graalvm.word.PointerBase.isNull:()Z
            ifeq 3
         2: .line 104
            new java.lang.OutOfMemoryError
            dup
            ldc "calloc of unmanaged memory"
            invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 106
      StackMap locals: org.graalvm.word.PointerBase
      StackMap stack:
            aload 1 /* result */
            areturn
        end local 1 // org.graalvm.word.PointerBase result
        end local 0 // org.graalvm.word.UnsignedWord size
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    size  Lorg/graalvm/word/UnsignedWord;
            1    4     1  result  TT;
    Signature: <T::Lorg/graalvm/word/PointerBase;>(Lorg/graalvm/word/UnsignedWord;)TT;
    MethodParameters:
      Name  Flags
      size  

  public static <T extends org.graalvm.word.PointerBase> T calloc();
    descriptor: (I)Lorg/graalvm/word/PointerBase;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int size
         0: .line 119
            iload 0 /* size */
            invokestatic org.graalvm.word.WordFactory.unsigned:(I)Lorg/graalvm/word/UnsignedWord;
            invokestatic org.graalvm.nativeimage.UnmanagedMemory.calloc:(Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
            areturn
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  size  I
    Signature: <T::Lorg/graalvm/word/PointerBase;>(I)TT;
    MethodParameters:
      Name  Flags
      size  

  public static <T extends org.graalvm.word.PointerBase> T realloc(T, org.graalvm.word.UnsignedWord);
    descriptor: (Lorg/graalvm/word/PointerBase;Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.graalvm.word.PointerBase ptr
        start local 1 // org.graalvm.word.UnsignedWord size
         0: .line 134
            ldc Lorg/graalvm/nativeimage/impl/UnmanagedMemorySupport;
            invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast org.graalvm.nativeimage.impl.UnmanagedMemorySupport
            aload 0 /* ptr */
            aload 1 /* size */
            invokeinterface org.graalvm.nativeimage.impl.UnmanagedMemorySupport.realloc:(Lorg/graalvm/word/PointerBase;Lorg/graalvm/word/UnsignedWord;)Lorg/graalvm/word/PointerBase;
            astore 2 /* result */
        start local 2 // org.graalvm.word.PointerBase result
         1: .line 135
            aload 2 /* result */
            invokeinterface org.graalvm.word.PointerBase.isNull:()Z
            ifeq 3
         2: .line 136
            new java.lang.OutOfMemoryError
            dup
            ldc "realloc of unmanaged memory"
            invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 138
      StackMap locals: org.graalvm.word.PointerBase
      StackMap stack:
            aload 2 /* result */
            areturn
        end local 2 // org.graalvm.word.PointerBase result
        end local 1 // org.graalvm.word.UnsignedWord size
        end local 0 // org.graalvm.word.PointerBase ptr
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0     ptr  TT;
            0    4     1    size  Lorg/graalvm/word/UnsignedWord;
            1    4     2  result  TT;
    Signature: <T::Lorg/graalvm/word/PointerBase;>(TT;Lorg/graalvm/word/UnsignedWord;)TT;
    MethodParameters:
      Name  Flags
      ptr   
      size  

  public static void free(org.graalvm.word.PointerBase);
    descriptor: (Lorg/graalvm/word/PointerBase;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.word.PointerBase ptr
         0: .line 147
            ldc Lorg/graalvm/nativeimage/impl/UnmanagedMemorySupport;
            invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast org.graalvm.nativeimage.impl.UnmanagedMemorySupport
            aload 0 /* ptr */
            invokeinterface org.graalvm.nativeimage.impl.UnmanagedMemorySupport.free:(Lorg/graalvm/word/PointerBase;)V
         1: .line 148
            return
        end local 0 // org.graalvm.word.PointerBase ptr
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   ptr  Lorg/graalvm/word/PointerBase;
    MethodParameters:
      Name  Flags
      ptr   
}
SourceFile: "UnmanagedMemory.java"