final class at.yawk.numaec.PageAllocator implements java.io.Closeable
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: at.yawk.numaec.PageAllocator
  super_class: java.lang.Object
{
  private final at.yawk.numaec.LargeByteBufferAllocator allocator;
    descriptor: Lat/yawk/numaec/LargeByteBufferAllocator;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<at.yawk.numaec.LargeByteBuffer> regions;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lat/yawk/numaec/LargeByteBuffer;>;

  private final int regionSize;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int regionSizeBytes;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final at.yawk.numaec.LargeByteBuffer bufferView;
    descriptor: Lat/yawk/numaec/LargeByteBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.BitSet occupied;
    descriptor: Ljava/util/BitSet;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(at.yawk.numaec.LargeByteBufferAllocator, int, int);
    descriptor: (Lat/yawk/numaec/LargeByteBufferAllocator;II)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // at.yawk.numaec.PageAllocator this
        start local 1 // at.yawk.numaec.LargeByteBufferAllocator allocator
        start local 2 // int regionSize
        start local 3 // int pageSize
         0: .line 27
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 10
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield at.yawk.numaec.PageAllocator.regions:Ljava/util/List;
         2: .line 20
            aload 0 /* this */
            new at.yawk.numaec.PageAllocator$Buf
            dup
            aload 0 /* this */
            invokespecial at.yawk.numaec.PageAllocator$Buf.<init>:(Lat/yawk/numaec/PageAllocator;)V
            putfield at.yawk.numaec.PageAllocator.bufferView:Lat/yawk/numaec/LargeByteBuffer;
         3: .line 22
            aload 0 /* this */
            new java.util.BitSet
            dup
            invokespecial java.util.BitSet.<init>:()V
            putfield at.yawk.numaec.PageAllocator.occupied:Ljava/util/BitSet;
         4: .line 28
            aload 0 /* this */
            aload 1 /* allocator */
            putfield at.yawk.numaec.PageAllocator.allocator:Lat/yawk/numaec/LargeByteBufferAllocator;
         5: .line 29
            aload 0 /* this */
            iload 2 /* regionSize */
            putfield at.yawk.numaec.PageAllocator.regionSize:I
         6: .line 30
            aload 0 /* this */
            iload 2 /* regionSize */
            iload 3 /* pageSize */
            imul
            putfield at.yawk.numaec.PageAllocator.regionSizeBytes:I
         7: .line 31
            return
        end local 3 // int pageSize
        end local 2 // int regionSize
        end local 1 // at.yawk.numaec.LargeByteBufferAllocator allocator
        end local 0 // at.yawk.numaec.PageAllocator this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lat/yawk/numaec/PageAllocator;
            0    8     1   allocator  Lat/yawk/numaec/LargeByteBufferAllocator;
            0    8     2  regionSize  I
            0    8     3    pageSize  I
    MethodParameters:
            Name  Flags
      allocator   
      regionSize  
      pageSize    

  public at.yawk.numaec.LargeByteBuffer getBufferView();
    descriptor: ()Lat/yawk/numaec/LargeByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // at.yawk.numaec.PageAllocator this
         0: .line 34
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.bufferView:Lat/yawk/numaec/LargeByteBuffer;
            areturn
        end local 0 // at.yawk.numaec.PageAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lat/yawk/numaec/PageAllocator;

  public int allocatePage();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // at.yawk.numaec.PageAllocator this
         0: .line 38
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.occupied:Ljava/util/BitSet;
            iconst_0
            invokevirtual java.util.BitSet.nextClearBit:(I)I
            istore 1 /* nextClear */
        start local 1 // int nextClear
         1: .line 39
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.regionSize:I
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.regions:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            imul
            istore 2 /* maxPage */
        start local 2 // int maxPage
         2: .line 40
            iload 1 /* nextClear */
            iload 2 /* maxPage */
            if_icmple 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 41
      StackMap locals: int int
      StackMap stack:
            iload 1 /* nextClear */
            iload 2 /* maxPage */
            if_icmpne 5
         4: .line 42
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.regions:Ljava/util/List;
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.allocator:Lat/yawk/numaec/LargeByteBufferAllocator;
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.regionSizeBytes:I
            i2l
            invokeinterface at.yawk.numaec.LargeByteBufferAllocator.allocate:(J)Lat/yawk/numaec/LargeByteBuffer;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 44
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.occupied:Ljava/util/BitSet;
            iload 1 /* nextClear */
            invokevirtual java.util.BitSet.set:(I)V
         6: .line 45
            iload 1 /* nextClear */
            ireturn
        end local 2 // int maxPage
        end local 1 // int nextClear
        end local 0 // at.yawk.numaec.PageAllocator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lat/yawk/numaec/PageAllocator;
            1    7     1  nextClear  I
            2    7     2    maxPage  I

  public void freePage(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // at.yawk.numaec.PageAllocator this
        start local 1 // int page
         0: .line 49
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.occupied:Ljava/util/BitSet;
            iload 1 /* page */
            invokevirtual java.util.BitSet.get:(I)Z
            ifne 2
         1: .line 50
            new java.lang.IllegalStateException
            dup
            ldc "Page not allocated (double-free?)"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 52
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.occupied:Ljava/util/BitSet;
            iload 1 /* page */
            invokevirtual java.util.BitSet.clear:(I)V
         3: .line 53
            return
        end local 1 // int page
        end local 0 // at.yawk.numaec.PageAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lat/yawk/numaec/PageAllocator;
            0    4     1  page  I
    MethodParameters:
      Name  Flags
      page  

  public void freeAllPages();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // at.yawk.numaec.PageAllocator this
         0: .line 56
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.occupied:Ljava/util/BitSet;
            invokevirtual java.util.BitSet.clear:()V
         1: .line 57
            return
        end local 0 // at.yawk.numaec.PageAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lat/yawk/numaec/PageAllocator;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // at.yawk.numaec.PageAllocator this
         0: .line 61
            aconst_null
            astore 1 /* re */
        start local 1 // java.lang.RuntimeException re
         1: .line 62
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.regions:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 10
      StackMap locals: at.yawk.numaec.PageAllocator java.lang.RuntimeException top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast at.yawk.numaec.LargeByteBuffer
            astore 2 /* region */
        start local 2 // at.yawk.numaec.LargeByteBuffer region
         3: .line 64
            aload 2 /* region */
            invokeinterface at.yawk.numaec.LargeByteBuffer.close:()V
         4: .line 65
            goto 10
      StackMap locals: at.yawk.numaec.PageAllocator java.lang.RuntimeException at.yawk.numaec.LargeByteBuffer java.util.Iterator
      StackMap stack: java.lang.RuntimeException
         5: astore 4 /* e */
        start local 4 // java.lang.RuntimeException e
         6: .line 66
            aload 1 /* re */
            ifnonnull 9
         7: .line 67
            aload 4 /* e */
            astore 1 /* re */
         8: .line 68
            goto 10
         9: .line 69
      StackMap locals: java.lang.RuntimeException
      StackMap stack:
            aload 1 /* re */
            aload 4 /* e */
            invokevirtual java.lang.RuntimeException.addSuppressed:(Ljava/lang/Throwable;)V
        end local 4 // java.lang.RuntimeException e
        end local 2 // at.yawk.numaec.LargeByteBuffer region
        10: .line 62
      StackMap locals: at.yawk.numaec.PageAllocator java.lang.RuntimeException top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        11: .line 73
            aload 0 /* this */
            getfield at.yawk.numaec.PageAllocator.regions:Ljava/util/List;
            invokeinterface java.util.List.clear:()V
        12: .line 74
            aload 1 /* re */
            ifnull 14
        13: .line 75
            aload 1 /* re */
            athrow
        14: .line 77
      StackMap locals: at.yawk.numaec.PageAllocator java.lang.RuntimeException
      StackMap stack:
            return
        end local 1 // java.lang.RuntimeException re
        end local 0 // at.yawk.numaec.PageAllocator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lat/yawk/numaec/PageAllocator;
            1   15     1      re  Ljava/lang/RuntimeException;
            3   10     2  region  Lat/yawk/numaec/LargeByteBuffer;
            6   10     4       e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.lang.RuntimeException
}
SourceFile: "PageAllocator.java"
NestMembers:
  at.yawk.numaec.PageAllocator$Buf
InnerClasses:
  private Buf = at.yawk.numaec.PageAllocator$Buf of at.yawk.numaec.PageAllocator