class jdk.internal.foreign.abi.SharedUtils$Allocator$1 implements jdk.internal.foreign.abi.SharedUtils$Allocator
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.foreign.abi.SharedUtils$Allocator$1
  super_class: java.lang.Object
{
  private final jdk.incubator.foreign.NativeScope val$scope;
    descriptor: Ljdk/incubator/foreign/NativeScope;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(jdk.incubator.foreign.NativeScope);
    descriptor: (Ljdk/incubator/foreign/NativeScope;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.foreign.abi.SharedUtils$Allocator$1 this
         0: .line 385
            aload 0 /* this */
            aload 1
            putfield jdk.internal.foreign.abi.SharedUtils$Allocator$1.val$scope:Ljdk/incubator/foreign/NativeScope;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.internal.foreign.abi.SharedUtils$Allocator$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/foreign/abi/SharedUtils$Allocator$1;
    MethodParameters:
           Name  Flags
      val$scope  final

  public jdk.incubator.foreign.MemorySegment allocate(long, long);
    descriptor: (JJ)Ljdk/incubator/foreign/MemorySegment;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // jdk.internal.foreign.abi.SharedUtils$Allocator$1 this
        start local 1 // long size
        start local 3 // long align
         0: .line 388
            aload 0 /* this */
            getfield jdk.internal.foreign.abi.SharedUtils$Allocator$1.val$scope:Ljdk/incubator/foreign/NativeScope;
            lload 1 /* size */
            lload 3 /* align */
            invokeinterface jdk.incubator.foreign.NativeScope.allocate:(JJ)Ljdk/incubator/foreign/MemorySegment;
            areturn
        end local 3 // long align
        end local 1 // long size
        end local 0 // jdk.internal.foreign.abi.SharedUtils$Allocator$1 this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/internal/foreign/abi/SharedUtils$Allocator$1;
            0    1     1   size  J
            0    1     3  align  J
    MethodParameters:
       Name  Flags
      size   
      align  

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.foreign.abi.SharedUtils$Allocator$1 this
         0: .line 393
            aload 0 /* this */
            getfield jdk.internal.foreign.abi.SharedUtils$Allocator$1.val$scope:Ljdk/incubator/foreign/NativeScope;
            invokeinterface jdk.incubator.foreign.NativeScope.close:()V
         1: .line 394
            return
        end local 0 // jdk.internal.foreign.abi.SharedUtils$Allocator$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/foreign/abi/SharedUtils$Allocator$1;
}
SourceFile: "SharedUtils.java"
EnclosingMethod: jdk.internal.foreign.abi.SharedUtils$Allocator.ofScope:(Ljdk/incubator/foreign/NativeScope;)Ljdk/internal/foreign/abi/SharedUtils$Allocator;
NestHost: jdk.internal.foreign.abi.SharedUtils
InnerClasses:
  public abstract Allocator = jdk.internal.foreign.abi.SharedUtils$Allocator of jdk.internal.foreign.abi.SharedUtils
  jdk.internal.foreign.abi.SharedUtils$Allocator$1