public abstract class org.xnio.ByteBufferPool
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.xnio.ByteBufferPool
  super_class: java.lang.Object
{
  private static final boolean sliceLargeBuffers;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.concurrent.ConcurrentLinkedQueue<java.nio.ByteBuffer> masterQueue;
    descriptor: Ljava/util/concurrent/ConcurrentLinkedQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentLinkedQueue<Ljava/nio/ByteBuffer;>;

  private final java.lang.ThreadLocal<org.xnio.ByteBufferPool$Cache> threadLocalCache;
    descriptor: Ljava/lang/ThreadLocal;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/lang/ThreadLocal<Lorg/xnio/ByteBufferPool$Cache;>;

  private final org.xnio.ByteBufferPool$Cache defaultCache;
    descriptor: Lorg/xnio/ByteBufferPool$Cache;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final boolean direct;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public static final int LARGE_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1048576

  public static final int MEDIUM_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 8192

  public static final int SMALL_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 64

  static final int CACHE_LINE_SIZE;
    descriptor: I
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  public static final org.xnio.ByteBufferPool LARGE_DIRECT;
    descriptor: Lorg/xnio/ByteBufferPool;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.xnio.ByteBufferPool MEDIUM_DIRECT;
    descriptor: Lorg/xnio/ByteBufferPool;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.xnio.ByteBufferPool SMALL_DIRECT;
    descriptor: Lorg/xnio/ByteBufferPool;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.xnio.ByteBufferPool LARGE_HEAP;
    descriptor: Lorg/xnio/ByteBufferPool;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.xnio.ByteBufferPool MEDIUM_HEAP;
    descriptor: Lorg/xnio/ByteBufferPool;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final org.xnio.ByteBufferPool SMALL_HEAP;
    descriptor: Lorg/xnio/ByteBufferPool;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 42
            ldc Lorg/xnio/ByteBufferPool;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
         3: .line 47
            ldc "xnio.buffer.slice-large-buffers"
            ldc "true"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
            putstatic org.xnio.ByteBufferPool.sliceLargeBuffers:Z
         4: .line 79
            bipush 64
            invokestatic org.wildfly.common.cpu.CacheInfo.getSmallestDataCacheLineSize:()I
            invokestatic java.lang.Math.max:(II)I
            putstatic org.xnio.ByteBufferPool.CACHE_LINE_SIZE:I
         5: .line 84
            ldc 1048576
            iconst_1
            invokestatic org.xnio.ByteBufferPool.create:(IZ)Lorg/xnio/ByteBufferPool;
            putstatic org.xnio.ByteBufferPool.LARGE_DIRECT:Lorg/xnio/ByteBufferPool;
         6: .line 88
            getstatic org.xnio.ByteBufferPool.sliceLargeBuffers:Z
            ifeq 7
            getstatic org.xnio.ByteBufferPool.LARGE_DIRECT:Lorg/xnio/ByteBufferPool;
            sipush 8192
            invokestatic org.xnio.ByteBufferPool.subPool:(Lorg/xnio/ByteBufferPool;I)Lorg/xnio/ByteBufferPool;
            goto 8
      StackMap locals:
      StackMap stack:
         7: sipush 8192
            iconst_1
            invokestatic org.xnio.ByteBufferPool.create:(IZ)Lorg/xnio/ByteBufferPool;
      StackMap locals:
      StackMap stack: org.xnio.ByteBufferPool
         8: putstatic org.xnio.ByteBufferPool.MEDIUM_DIRECT:Lorg/xnio/ByteBufferPool;
         9: .line 92
            getstatic org.xnio.ByteBufferPool.MEDIUM_DIRECT:Lorg/xnio/ByteBufferPool;
            bipush 64
            invokestatic org.xnio.ByteBufferPool.subPool:(Lorg/xnio/ByteBufferPool;I)Lorg/xnio/ByteBufferPool;
            putstatic org.xnio.ByteBufferPool.SMALL_DIRECT:Lorg/xnio/ByteBufferPool;
        10: .line 96
            ldc 1048576
            iconst_0
            invokestatic org.xnio.ByteBufferPool.create:(IZ)Lorg/xnio/ByteBufferPool;
            putstatic org.xnio.ByteBufferPool.LARGE_HEAP:Lorg/xnio/ByteBufferPool;
        11: .line 100
            sipush 8192
            iconst_0
            invokestatic org.xnio.ByteBufferPool.create:(IZ)Lorg/xnio/ByteBufferPool;
            putstatic org.xnio.ByteBufferPool.MEDIUM_HEAP:Lorg/xnio/ByteBufferPool;
        12: .line 104
            bipush 64
            iconst_0
            invokestatic org.xnio.ByteBufferPool.create:(IZ)Lorg/xnio/ByteBufferPool;
            putstatic org.xnio.ByteBufferPool.SMALL_HEAP:Lorg/xnio/ByteBufferPool;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(int, boolean);
    descriptor: (IZ)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int size
        start local 2 // boolean direct
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 50
            aload 0 /* this */
            new java.util.concurrent.ConcurrentLinkedQueue
            dup
            invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
            putfield org.xnio.ByteBufferPool.masterQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
         2: .line 51
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic get(Lorg/xnio/ByteBufferPool;)Ljava/util/function/Supplier;
              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:
                  ()Ljava/lang/Object;
                  org/xnio/ByteBufferPool.getDefaultCache()Lorg/xnio/ByteBufferPool$Cache; (5)
                  ()Lorg/xnio/ByteBufferPool$Cache;
            invokestatic java.lang.ThreadLocal.withInitial:(Ljava/util/function/Supplier;)Ljava/lang/ThreadLocal;
            putfield org.xnio.ByteBufferPool.threadLocalCache:Ljava/lang/ThreadLocal;
         3: .line 52
            aload 0 /* this */
            new org.xnio.ByteBufferPool$DefaultCache
            dup
            aload 0 /* this */
            invokespecial org.xnio.ByteBufferPool$DefaultCache.<init>:(Lorg/xnio/ByteBufferPool;)V
            putfield org.xnio.ByteBufferPool.defaultCache:Lorg/xnio/ByteBufferPool$Cache;
         4: .line 57
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 5
            iload 1 /* size */
            invokestatic java.lang.Integer.bitCount:(I)I
            iconst_1
            if_icmpeq 5
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 58
      StackMap locals: org.xnio.ByteBufferPool int int
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 6
            iload 1 /* size */
            bipush 16
            if_icmpge 6
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 59
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 7
            iload 1 /* size */
            ldc 1073741824
            if_icmple 7
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         7: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* size */
            putfield org.xnio.ByteBufferPool.size:I
         8: .line 61
            aload 0 /* this */
            iload 2 /* direct */
            putfield org.xnio.ByteBufferPool.direct:Z
         9: .line 62
            return
        end local 2 // boolean direct
        end local 1 // int size
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lorg/xnio/ByteBufferPool;
            0   10     1    size  I
            0   10     2  direct  Z
    MethodParameters:
        Name  Flags
      size    final
      direct  final

  public java.nio.ByteBuffer allocate();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.ByteBufferPool this
         0: .line 161
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.threadLocalCache:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast org.xnio.ByteBufferPool$Cache
            invokeinterface org.xnio.ByteBufferPool$Cache.allocate:()Ljava/nio/ByteBuffer;
            areturn
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/ByteBufferPool;

  public void allocate(java.nio.ByteBuffer[], int);
    descriptor: ([Ljava/nio/ByteBuffer;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // java.nio.ByteBuffer[] array
        start local 2 // int offs
         0: .line 171
            aload 0 /* this */
            aload 1 /* array */
            iload 2 /* offs */
            aload 1 /* array */
            arraylength
            iload 2 /* offs */
            isub
            invokevirtual org.xnio.ByteBufferPool.allocate:([Ljava/nio/ByteBuffer;II)V
         1: .line 172
            return
        end local 2 // int offs
        end local 1 // java.nio.ByteBuffer[] array
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/xnio/ByteBufferPool;
            0    2     1  array  [Ljava/nio/ByteBuffer;
            0    2     2   offs  I
    MethodParameters:
       Name  Flags
      array  
      offs   

  public void allocate(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // java.nio.ByteBuffer[] array
        start local 2 // int offs
        start local 3 // int len
         0: .line 182
            ldc "array"
            aload 1 /* array */
            invokestatic org.wildfly.common.Assert.checkNotNullParam:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 183
            aload 1 /* array */
            iload 2 /* offs */
            iload 3 /* len */
            invokestatic org.wildfly.common.Assert.checkArrayBounds:([Ljava/lang/Object;II)V
         2: .line 184
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         3: goto 6
         4: .line 185
      StackMap locals: int
      StackMap stack:
            aload 1 /* array */
            iload 2 /* offs */
            iload 4 /* i */
            iadd
            aload 0 /* this */
            invokevirtual org.xnio.ByteBufferPool.allocate:()Ljava/nio/ByteBuffer;
            aastore
         5: .line 184
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 4 /* i */
            iload 3 /* len */
            if_icmplt 4
        end local 4 // int i
         7: .line 187
            return
        end local 3 // int len
        end local 2 // int offs
        end local 1 // java.nio.ByteBuffer[] array
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0   this  Lorg/xnio/ByteBufferPool;
            0    8     1  array  [Ljava/nio/ByteBuffer;
            0    8     2   offs  I
            0    8     3    len  I
            3    7     4      i  I
    MethodParameters:
       Name  Flags
      array  
      offs   
      len    

  public static void free(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.nio.ByteBuffer buffer
         0: .line 197
            ldc "buffer"
            aload 0 /* buffer */
            invokestatic org.wildfly.common.Assert.checkNotNullParam:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 198
            aload 0 /* buffer */
            invokevirtual java.nio.ByteBuffer.capacity:()I
            istore 1 /* size */
        start local 1 // int size
         2: .line 199
            iload 1 /* size */
            invokestatic java.lang.Integer.bitCount:(I)I
            iconst_1
            if_icmpne 21
            aload 0 /* buffer */
            invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
            ifne 21
         3: .line 200
            aload 0 /* buffer */
            invokevirtual java.nio.ByteBuffer.isDirect:()Z
            ifeq 13
         4: .line 201
            iload 1 /* size */
            sipush 8192
            if_icmpne 7
         5: .line 202
            getstatic org.xnio.ByteBufferPool.MEDIUM_DIRECT:Lorg/xnio/ByteBufferPool;
            aload 0 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
         6: .line 203
            goto 21
      StackMap locals: int
      StackMap stack:
         7: iload 1 /* size */
            bipush 64
            if_icmpne 10
         8: .line 204
            getstatic org.xnio.ByteBufferPool.SMALL_DIRECT:Lorg/xnio/ByteBufferPool;
            aload 0 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
         9: .line 205
            goto 21
      StackMap locals:
      StackMap stack:
        10: iload 1 /* size */
            ldc 1048576
            if_icmpne 21
        11: .line 206
            getstatic org.xnio.ByteBufferPool.LARGE_DIRECT:Lorg/xnio/ByteBufferPool;
            aload 0 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        12: .line 208
            goto 21
        13: .line 209
      StackMap locals:
      StackMap stack:
            iload 1 /* size */
            sipush 8192
            if_icmpne 16
        14: .line 210
            getstatic org.xnio.ByteBufferPool.MEDIUM_HEAP:Lorg/xnio/ByteBufferPool;
            aload 0 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        15: .line 211
            goto 21
      StackMap locals:
      StackMap stack:
        16: iload 1 /* size */
            bipush 64
            if_icmpne 19
        17: .line 212
            getstatic org.xnio.ByteBufferPool.SMALL_HEAP:Lorg/xnio/ByteBufferPool;
            aload 0 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        18: .line 213
            goto 21
      StackMap locals:
      StackMap stack:
        19: iload 1 /* size */
            ldc 1048576
            if_icmpne 21
        20: .line 214
            getstatic org.xnio.ByteBufferPool.LARGE_HEAP:Lorg/xnio/ByteBufferPool;
            aload 0 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        21: .line 218
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int size
        end local 0 // java.nio.ByteBuffer buffer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   22     0  buffer  Ljava/nio/ByteBuffer;
            2   22     1    size  I
    MethodParameters:
        Name  Flags
      buffer  

  public static void free(java.nio.ByteBuffer[], int, int);
    descriptor: ([Ljava/nio/ByteBuffer;II)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // java.nio.ByteBuffer[] array
        start local 1 // int offs
        start local 2 // int len
         0: .line 229
            aload 0 /* array */
            iload 1 /* offs */
            iload 2 /* len */
            invokestatic org.wildfly.common.Assert.checkArrayBounds:([Ljava/lang/Object;II)V
         1: .line 230
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 29
         3: .line 231
      StackMap locals: int
      StackMap stack:
            aload 0 /* array */
            iload 1 /* offs */
            iload 3 /* i */
            iadd
            aaload
            astore 4 /* buffer */
        start local 4 // java.nio.ByteBuffer buffer
         4: .line 232
            aload 4 /* buffer */
            ifnonnull 6
         5: .line 233
            goto 28
         6: .line 235
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 4 /* buffer */
            invokevirtual java.nio.ByteBuffer.capacity:()I
            istore 5 /* size */
        start local 5 // int size
         7: .line 236
            iload 5 /* size */
            invokestatic java.lang.Integer.bitCount:(I)I
            iconst_1
            if_icmpne 27
            aload 4 /* buffer */
            invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
            ifne 27
         8: .line 237
            aload 4 /* buffer */
            invokevirtual java.nio.ByteBuffer.isDirect:()Z
            ifeq 19
         9: .line 238
            aload 4 /* buffer */
            instanceof java.nio.MappedByteBuffer
            ifne 27
        10: .line 239
            iload 5 /* size */
            sipush 8192
            if_icmpne 13
        11: .line 240
            getstatic org.xnio.ByteBufferPool.MEDIUM_DIRECT:Lorg/xnio/ByteBufferPool;
            aload 4 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        12: .line 241
            goto 27
      StackMap locals: int
      StackMap stack:
        13: iload 5 /* size */
            bipush 64
            if_icmpne 16
        14: .line 242
            getstatic org.xnio.ByteBufferPool.SMALL_DIRECT:Lorg/xnio/ByteBufferPool;
            aload 4 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        15: .line 243
            goto 27
      StackMap locals:
      StackMap stack:
        16: iload 5 /* size */
            ldc 1048576
            if_icmpne 27
        17: .line 244
            getstatic org.xnio.ByteBufferPool.LARGE_DIRECT:Lorg/xnio/ByteBufferPool;
            aload 4 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        18: .line 247
            goto 27
        19: .line 248
      StackMap locals:
      StackMap stack:
            iload 5 /* size */
            sipush 8192
            if_icmpne 22
        20: .line 249
            getstatic org.xnio.ByteBufferPool.MEDIUM_HEAP:Lorg/xnio/ByteBufferPool;
            aload 4 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        21: .line 250
            goto 27
      StackMap locals:
      StackMap stack:
        22: iload 5 /* size */
            bipush 64
            if_icmpne 25
        23: .line 251
            getstatic org.xnio.ByteBufferPool.SMALL_HEAP:Lorg/xnio/ByteBufferPool;
            aload 4 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        24: .line 252
            goto 27
      StackMap locals:
      StackMap stack:
        25: iload 5 /* size */
            ldc 1048576
            if_icmpne 27
        26: .line 253
            getstatic org.xnio.ByteBufferPool.LARGE_HEAP:Lorg/xnio/ByteBufferPool;
            aload 4 /* buffer */
            invokevirtual org.xnio.ByteBufferPool.doFree:(Ljava/nio/ByteBuffer;)V
        27: .line 257
      StackMap locals:
      StackMap stack:
            aload 0 /* array */
            iload 1 /* offs */
            iload 3 /* i */
            iadd
            aconst_null
            aastore
        end local 5 // int size
        end local 4 // java.nio.ByteBuffer buffer
        28: .line 230
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        29: iload 3 /* i */
            iload 2 /* len */
            if_icmplt 3
        end local 3 // int i
        30: .line 259
            return
        end local 2 // int len
        end local 1 // int offs
        end local 0 // java.nio.ByteBuffer[] array
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   31     0   array  [Ljava/nio/ByteBuffer;
            0   31     1    offs  I
            0   31     2     len  I
            2   30     3       i  I
            4   28     4  buffer  Ljava/nio/ByteBuffer;
            7   28     5    size  I
    MethodParameters:
       Name  Flags
      array  
      offs   
      len    

  public static void zeroAndFree(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.nio.ByteBuffer buffer
         0: .line 267
            aload 0 /* buffer */
            invokestatic org.xnio.Buffers.zero:(Ljava/nio/ByteBuffer;)V
         1: .line 268
            aload 0 /* buffer */
            invokestatic org.xnio.ByteBufferPool.free:(Ljava/nio/ByteBuffer;)V
         2: .line 269
            return
        end local 0 // java.nio.ByteBuffer buffer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0  buffer  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      buffer  

  public boolean isDirect();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.ByteBufferPool this
         0: .line 276
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.direct:Z
            ireturn
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/ByteBufferPool;

  public int getSize();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.ByteBufferPool this
         0: .line 285
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.size:I
            ireturn
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/ByteBufferPool;

  public void flushCaches();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.ByteBufferPool this
         0: .line 293
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.threadLocalCache:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast org.xnio.ByteBufferPool$Cache
            invokeinterface org.xnio.ByteBufferPool$Cache.flush:()V
         1: .line 294
            return
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/xnio/ByteBufferPool;

  public static void flushAllCaches();
    descriptor: ()V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 301
            getstatic org.xnio.ByteBufferPool.SMALL_HEAP:Lorg/xnio/ByteBufferPool;
            invokevirtual org.xnio.ByteBufferPool.flushCaches:()V
         1: .line 302
            getstatic org.xnio.ByteBufferPool.MEDIUM_HEAP:Lorg/xnio/ByteBufferPool;
            invokevirtual org.xnio.ByteBufferPool.flushCaches:()V
         2: .line 303
            getstatic org.xnio.ByteBufferPool.LARGE_HEAP:Lorg/xnio/ByteBufferPool;
            invokevirtual org.xnio.ByteBufferPool.flushCaches:()V
         3: .line 304
            getstatic org.xnio.ByteBufferPool.SMALL_DIRECT:Lorg/xnio/ByteBufferPool;
            invokevirtual org.xnio.ByteBufferPool.flushCaches:()V
         4: .line 305
            getstatic org.xnio.ByteBufferPool.MEDIUM_DIRECT:Lorg/xnio/ByteBufferPool;
            invokevirtual org.xnio.ByteBufferPool.flushCaches:()V
         5: .line 306
            getstatic org.xnio.ByteBufferPool.LARGE_DIRECT:Lorg/xnio/ByteBufferPool;
            invokevirtual org.xnio.ByteBufferPool.flushCaches:()V
         6: .line 307
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public <T, U, E extends java.lang.Exception> void acceptWithCacheEx(int, org.wildfly.common.function.ExceptionBiConsumer<T, U, E>, T, ) throws E;
    descriptor: (ILorg/wildfly/common/function/ExceptionBiConsumer;Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=9, args_size=5
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int cacheSize
        start local 2 // org.wildfly.common.function.ExceptionBiConsumer consumer
        start local 3 // java.lang.Object param1
        start local 4 // java.lang.Object param2
         0: .line 324
            ldc "cacheSize"
            iconst_0
            iload 1 /* cacheSize */
            invokestatic org.wildfly.common.Assert.checkMinimumParameter:(Ljava/lang/String;II)V
         1: .line 325
            ldc "consumer"
            aload 2 /* consumer */
            invokestatic org.wildfly.common.Assert.checkNotNullParam:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 326
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.threadLocalCache:Ljava/lang/ThreadLocal;
            astore 5 /* threadLocalCache */
        start local 5 // java.lang.ThreadLocal threadLocalCache
         3: .line 327
            aload 5 /* threadLocalCache */
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast org.xnio.ByteBufferPool$Cache
            astore 6 /* parent */
        start local 6 // org.xnio.ByteBufferPool$Cache parent
         4: .line 329
            iload 1 /* cacheSize */
            ifne 7
         5: .line 330
            aload 2 /* consumer */
            aload 3 /* param1 */
            aload 4 /* param2 */
            invokeinterface org.wildfly.common.function.ExceptionBiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 331
            return
         7: .line 332
      StackMap locals: java.lang.ThreadLocal org.xnio.ByteBufferPool$Cache
      StackMap stack:
            iload 1 /* cacheSize */
            bipush 64
            if_icmpgt 24
         8: .line 333
            iload 1 /* cacheSize */
            iconst_1
            if_icmpne 11
         9: .line 334
            new org.xnio.ByteBufferPool$OneCache
            dup
            aload 6 /* parent */
            invokespecial org.xnio.ByteBufferPool$OneCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
        10: .line 335
            goto 15
        end local 7 // org.xnio.ByteBufferPool$Cache cache
      StackMap locals:
      StackMap stack:
        11: iload 1 /* cacheSize */
            iconst_2
            if_icmpne 14
        12: .line 336
            new org.xnio.ByteBufferPool$TwoCache
            dup
            aload 6 /* parent */
            invokespecial org.xnio.ByteBufferPool$TwoCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
        13: .line 337
            goto 15
        end local 7 // org.xnio.ByteBufferPool$Cache cache
        14: .line 338
      StackMap locals:
      StackMap stack:
            new org.xnio.ByteBufferPool$MultiCache
            dup
            aload 6 /* parent */
            iload 1 /* cacheSize */
            invokespecial org.xnio.ByteBufferPool$MultiCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;I)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
        15: .line 340
      StackMap locals: org.xnio.ByteBufferPool$Cache
      StackMap stack:
            aload 5 /* threadLocalCache */
            aload 7 /* cache */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        16: .line 342
            aload 2 /* consumer */
            aload 3 /* param1 */
            aload 4 /* param2 */
            invokeinterface org.wildfly.common.function.ExceptionBiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
        17: .line 345
            aload 5 /* threadLocalCache */
            aload 6 /* parent */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        18: .line 346
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        19: .line 343
            return
        20: .line 344
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 8
        21: .line 345
            aload 5 /* threadLocalCache */
            aload 6 /* parent */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        22: .line 346
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        23: .line 347
            aload 8
            athrow
        end local 7 // org.xnio.ByteBufferPool$Cache cache
        24: .line 349
      StackMap locals:
      StackMap stack:
            new org.xnio.ByteBufferPool$MultiCache
            dup
            aload 6 /* parent */
            bipush 64
            invokespecial org.xnio.ByteBufferPool$MultiCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;I)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
        25: .line 350
            aload 5 /* threadLocalCache */
            aload 7 /* cache */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        26: .line 352
            aload 0 /* this */
            iload 1 /* cacheSize */
            bipush 64
            isub
            aload 2 /* consumer */
            aload 3 /* param1 */
            aload 4 /* param2 */
            invokevirtual org.xnio.ByteBufferPool.acceptWithCacheEx:(ILorg/wildfly/common/function/ExceptionBiConsumer;Ljava/lang/Object;Ljava/lang/Object;)V
        27: .line 355
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        28: .line 353
            return
        29: .line 354
      StackMap locals: org.xnio.ByteBufferPool int org.wildfly.common.function.ExceptionBiConsumer java.lang.Object java.lang.Object java.lang.ThreadLocal org.xnio.ByteBufferPool$Cache org.xnio.ByteBufferPool$Cache
      StackMap stack: java.lang.Throwable
            astore 8
        30: .line 355
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        31: .line 356
            aload 8
            athrow
        end local 7 // org.xnio.ByteBufferPool$Cache cache
        end local 6 // org.xnio.ByteBufferPool$Cache parent
        end local 5 // java.lang.ThreadLocal threadLocalCache
        end local 4 // java.lang.Object param2
        end local 3 // java.lang.Object param1
        end local 2 // org.wildfly.common.function.ExceptionBiConsumer consumer
        end local 1 // int cacheSize
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   32     0              this  Lorg/xnio/ByteBufferPool;
            0   32     1         cacheSize  I
            0   32     2          consumer  Lorg/wildfly/common/function/ExceptionBiConsumer<TT;TU;TE;>;
            0   32     3            param1  TT;
            0   32     4            param2  TU;
            3   32     5  threadLocalCache  Ljava/lang/ThreadLocal<Lorg/xnio/ByteBufferPool$Cache;>;
            4   32     6            parent  Lorg/xnio/ByteBufferPool$Cache;
           10   11     7             cache  Lorg/xnio/ByteBufferPool$Cache;
           13   14     7             cache  Lorg/xnio/ByteBufferPool$Cache;
           15   24     7             cache  Lorg/xnio/ByteBufferPool$Cache;
           25   32     7             cache  Lorg/xnio/ByteBufferPool$Cache;
      Exception table:
        from    to  target  type
          16    17      20  any
          26    27      29  any
    Exceptions:
      throws java.lang.Exception
    Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;E:Ljava/lang/Exception;>(ILorg/wildfly/common/function/ExceptionBiConsumer<TT;TU;TE;>;TT;TU;)V^TE;
    MethodParameters:
           Name  Flags
      cacheSize  
      consumer   
      param1     
      param2     

  public <T, E extends java.lang.Exception> void acceptWithCacheEx(int, org.wildfly.common.function.ExceptionConsumer<T, E>, ) throws E;
    descriptor: (ILorg/wildfly/common/function/ExceptionConsumer;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int cacheSize
        start local 2 // org.wildfly.common.function.ExceptionConsumer consumer
        start local 3 // java.lang.Object param
         0: .line 373
            ldc "consumer"
            aload 2 /* consumer */
            invokestatic org.wildfly.common.Assert.checkNotNullParam:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 374
            aload 0 /* this */
            iload 1 /* cacheSize */
            invokestatic org.wildfly.common.function.Functions.exceptionConsumerBiConsumer:()Lorg/wildfly/common/function/ExceptionBiConsumer;
            aload 2 /* consumer */
            aload 3 /* param */
            invokevirtual org.xnio.ByteBufferPool.acceptWithCacheEx:(ILorg/wildfly/common/function/ExceptionBiConsumer;Ljava/lang/Object;Ljava/lang/Object;)V
         2: .line 375
            return
        end local 3 // java.lang.Object param
        end local 2 // org.wildfly.common.function.ExceptionConsumer consumer
        end local 1 // int cacheSize
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/xnio/ByteBufferPool;
            0    3     1  cacheSize  I
            0    3     2   consumer  Lorg/wildfly/common/function/ExceptionConsumer<TT;TE;>;
            0    3     3      param  TT;
    Exceptions:
      throws java.lang.Exception
    Signature: <T:Ljava/lang/Object;E:Ljava/lang/Exception;>(ILorg/wildfly/common/function/ExceptionConsumer<TT;TE;>;TT;)V^TE;
    MethodParameters:
           Name  Flags
      cacheSize  
      consumer   
      param      

  public <E extends java.lang.Exception> void runWithCacheEx(int, org.wildfly.common.function.ExceptionRunnable<E>) throws E;
    descriptor: (ILorg/wildfly/common/function/ExceptionRunnable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int cacheSize
        start local 2 // org.wildfly.common.function.ExceptionRunnable runnable
         0: .line 388
            ldc "runnable"
            aload 2 /* runnable */
            invokestatic org.wildfly.common.Assert.checkNotNullParam:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 389
            aload 0 /* this */
            iload 1 /* cacheSize */
            invokestatic org.wildfly.common.function.Functions.exceptionRunnableConsumer:()Lorg/wildfly/common/function/ExceptionConsumer;
            aload 2 /* runnable */
            invokevirtual org.xnio.ByteBufferPool.acceptWithCacheEx:(ILorg/wildfly/common/function/ExceptionConsumer;Ljava/lang/Object;)V
         2: .line 390
            return
        end local 2 // org.wildfly.common.function.ExceptionRunnable runnable
        end local 1 // int cacheSize
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/xnio/ByteBufferPool;
            0    3     1  cacheSize  I
            0    3     2   runnable  Lorg/wildfly/common/function/ExceptionRunnable<TE;>;
    Exceptions:
      throws java.lang.Exception
    Signature: <E:Ljava/lang/Exception;>(ILorg/wildfly/common/function/ExceptionRunnable<TE;>;)V^TE;
    MethodParameters:
           Name  Flags
      cacheSize  
      runnable   

  public void runWithCache(int, java.lang.Runnable);
    descriptor: (ILjava/lang/Runnable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int cacheSize
        start local 2 // java.lang.Runnable runnable
         0: .line 401
            ldc "runnable"
            aload 2 /* runnable */
            invokestatic org.wildfly.common.Assert.checkNotNullParam:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 403
            aload 0 /* this */
            iload 1 /* cacheSize */
            invokedynamic accept()Lorg/wildfly/common/function/ExceptionConsumer;
              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:
                  (Ljava/lang/Object;)V
                  java/lang/Runnable.run()V (9 itf)
                  (Ljava/lang/Runnable;)V
            aload 2 /* runnable */
            invokevirtual org.xnio.ByteBufferPool.acceptWithCacheEx:(ILorg/wildfly/common/function/ExceptionConsumer;Ljava/lang/Object;)V
         2: .line 404
            return
        end local 2 // java.lang.Runnable runnable
        end local 1 // int cacheSize
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/xnio/ByteBufferPool;
            0    3     1  cacheSize  I
            0    3     2   runnable  Ljava/lang/Runnable;
    MethodParameters:
           Name  Flags
      cacheSize  
      runnable   

  public <T, U, R, E extends java.lang.Exception> R applyWithCacheEx(int, org.wildfly.common.function.ExceptionBiFunction<T, U, R, E>, T, ) throws E;
    descriptor: (ILorg/wildfly/common/function/ExceptionBiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=10, args_size=5
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int cacheSize
        start local 2 // org.wildfly.common.function.ExceptionBiFunction function
        start local 3 // java.lang.Object param1
        start local 4 // java.lang.Object param2
         0: .line 423
            ldc "cacheSize"
            iconst_0
            iload 1 /* cacheSize */
            invokestatic org.wildfly.common.Assert.checkMinimumParameter:(Ljava/lang/String;II)V
         1: .line 424
            ldc "function"
            aload 2 /* function */
            invokestatic org.wildfly.common.Assert.checkNotNullParam:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 425
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.threadLocalCache:Ljava/lang/ThreadLocal;
            astore 5 /* threadLocalCache */
        start local 5 // java.lang.ThreadLocal threadLocalCache
         3: .line 426
            aload 5 /* threadLocalCache */
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast org.xnio.ByteBufferPool$Cache
            astore 6 /* parent */
        start local 6 // org.xnio.ByteBufferPool$Cache parent
         4: .line 428
            iload 1 /* cacheSize */
            ifne 6
         5: .line 429
            aload 2 /* function */
            aload 3 /* param1 */
            aload 4 /* param2 */
            invokeinterface org.wildfly.common.function.ExceptionBiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
         6: .line 430
      StackMap locals: java.lang.ThreadLocal org.xnio.ByteBufferPool$Cache
      StackMap stack:
            iload 1 /* cacheSize */
            bipush 64
            if_icmpgt 23
         7: .line 431
            iload 1 /* cacheSize */
            iconst_1
            if_icmpne 10
         8: .line 432
            new org.xnio.ByteBufferPool$OneCache
            dup
            aload 6 /* parent */
            invokespecial org.xnio.ByteBufferPool$OneCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
         9: .line 433
            goto 14
        end local 7 // org.xnio.ByteBufferPool$Cache cache
      StackMap locals:
      StackMap stack:
        10: iload 1 /* cacheSize */
            iconst_2
            if_icmpne 13
        11: .line 434
            new org.xnio.ByteBufferPool$TwoCache
            dup
            aload 6 /* parent */
            invokespecial org.xnio.ByteBufferPool$TwoCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
        12: .line 435
            goto 14
        end local 7 // org.xnio.ByteBufferPool$Cache cache
        13: .line 436
      StackMap locals:
      StackMap stack:
            new org.xnio.ByteBufferPool$MultiCache
            dup
            aload 6 /* parent */
            iload 1 /* cacheSize */
            invokespecial org.xnio.ByteBufferPool$MultiCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;I)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
        14: .line 438
      StackMap locals: org.xnio.ByteBufferPool$Cache
      StackMap stack:
            aload 5 /* threadLocalCache */
            aload 7 /* cache */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        15: .line 440
            aload 2 /* function */
            aload 3 /* param1 */
            aload 4 /* param2 */
            invokeinterface org.wildfly.common.function.ExceptionBiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 9
        16: .line 442
            aload 5 /* threadLocalCache */
            aload 6 /* parent */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        17: .line 443
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        18: .line 440
            aload 9
            areturn
        19: .line 441
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 8
        20: .line 442
            aload 5 /* threadLocalCache */
            aload 6 /* parent */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        21: .line 443
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        22: .line 444
            aload 8
            athrow
        end local 7 // org.xnio.ByteBufferPool$Cache cache
        23: .line 446
      StackMap locals:
      StackMap stack:
            new org.xnio.ByteBufferPool$MultiCache
            dup
            aload 6 /* parent */
            bipush 64
            invokespecial org.xnio.ByteBufferPool$MultiCache.<init>:(Lorg/xnio/ByteBufferPool$Cache;I)V
            astore 7 /* cache */
        start local 7 // org.xnio.ByteBufferPool$Cache cache
        24: .line 447
            aload 5 /* threadLocalCache */
            aload 7 /* cache */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
        25: .line 449
            aload 0 /* this */
            iload 1 /* cacheSize */
            bipush 64
            isub
            aload 2 /* function */
            aload 3 /* param1 */
            aload 4 /* param2 */
            invokevirtual org.xnio.ByteBufferPool.applyWithCacheEx:(ILorg/wildfly/common/function/ExceptionBiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 9
        26: .line 451
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        27: .line 449
            aload 9
            areturn
        28: .line 450
      StackMap locals: org.xnio.ByteBufferPool int org.wildfly.common.function.ExceptionBiFunction java.lang.Object java.lang.Object java.lang.ThreadLocal org.xnio.ByteBufferPool$Cache org.xnio.ByteBufferPool$Cache
      StackMap stack: java.lang.Throwable
            astore 8
        29: .line 451
            aload 7 /* cache */
            invokeinterface org.xnio.ByteBufferPool$Cache.destroy:()V
        30: .line 452
            aload 8
            athrow
        end local 7 // org.xnio.ByteBufferPool$Cache cache
        end local 6 // org.xnio.ByteBufferPool$Cache parent
        end local 5 // java.lang.ThreadLocal threadLocalCache
        end local 4 // java.lang.Object param2
        end local 3 // java.lang.Object param1
        end local 2 // org.wildfly.common.function.ExceptionBiFunction function
        end local 1 // int cacheSize
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   31     0              this  Lorg/xnio/ByteBufferPool;
            0   31     1         cacheSize  I
            0   31     2          function  Lorg/wildfly/common/function/ExceptionBiFunction<TT;TU;TR;TE;>;
            0   31     3            param1  TT;
            0   31     4            param2  TU;
            3   31     5  threadLocalCache  Ljava/lang/ThreadLocal<Lorg/xnio/ByteBufferPool$Cache;>;
            4   31     6            parent  Lorg/xnio/ByteBufferPool$Cache;
            9   10     7             cache  Lorg/xnio/ByteBufferPool$Cache;
           12   13     7             cache  Lorg/xnio/ByteBufferPool$Cache;
           14   23     7             cache  Lorg/xnio/ByteBufferPool$Cache;
           24   31     7             cache  Lorg/xnio/ByteBufferPool$Cache;
      Exception table:
        from    to  target  type
          15    16      19  any
          25    26      28  any
    Exceptions:
      throws java.lang.Exception
    Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;R:Ljava/lang/Object;E:Ljava/lang/Exception;>(ILorg/wildfly/common/function/ExceptionBiFunction<TT;TU;TR;TE;>;TT;TU;)TR;^TE;
    MethodParameters:
           Name  Flags
      cacheSize  
      function   
      param1     
      param2     

  public <T, R, E extends java.lang.Exception> R applyWithCacheEx(int, org.wildfly.common.function.ExceptionFunction<T, R, E>, ) throws E;
    descriptor: (ILorg/wildfly/common/function/ExceptionFunction;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int cacheSize
        start local 2 // org.wildfly.common.function.ExceptionFunction function
        start local 3 // java.lang.Object param
         0: .line 471
            aload 0 /* this */
            iload 1 /* cacheSize */
            invokestatic org.wildfly.common.function.Functions.exceptionFunctionBiFunction:()Lorg/wildfly/common/function/ExceptionBiFunction;
            aload 2 /* function */
            aload 3 /* param */
            invokevirtual org.xnio.ByteBufferPool.applyWithCacheEx:(ILorg/wildfly/common/function/ExceptionBiFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 3 // java.lang.Object param
        end local 2 // org.wildfly.common.function.ExceptionFunction function
        end local 1 // int cacheSize
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/xnio/ByteBufferPool;
            0    1     1  cacheSize  I
            0    1     2   function  Lorg/wildfly/common/function/ExceptionFunction<TT;TR;TE;>;
            0    1     3      param  TT;
    Exceptions:
      throws java.lang.Exception
    Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;E:Ljava/lang/Exception;>(ILorg/wildfly/common/function/ExceptionFunction<TT;TR;TE;>;TT;)TR;^TE;
    MethodParameters:
           Name  Flags
      cacheSize  
      function   
      param      

  public <R, E extends java.lang.Exception> R getWithCacheEx(int, org.wildfly.common.function.ExceptionSupplier<R, E>) throws E;
    descriptor: (ILorg/wildfly/common/function/ExceptionSupplier;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // int cacheSize
        start local 2 // org.wildfly.common.function.ExceptionSupplier supplier
         0: .line 487
            aload 0 /* this */
            iload 1 /* cacheSize */
            invokestatic org.wildfly.common.function.Functions.exceptionSupplierFunction:()Lorg/wildfly/common/function/ExceptionFunction;
            aload 2 /* supplier */
            invokevirtual org.xnio.ByteBufferPool.applyWithCacheEx:(ILorg/wildfly/common/function/ExceptionFunction;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 2 // org.wildfly.common.function.ExceptionSupplier supplier
        end local 1 // int cacheSize
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/xnio/ByteBufferPool;
            0    1     1  cacheSize  I
            0    1     2   supplier  Lorg/wildfly/common/function/ExceptionSupplier<TR;TE;>;
    Exceptions:
      throws java.lang.Exception
    Signature: <R:Ljava/lang/Object;E:Ljava/lang/Exception;>(ILorg/wildfly/common/function/ExceptionSupplier<TR;TE;>;)TR;^TE;
    MethodParameters:
           Name  Flags
      cacheSize  
      supplier   

  org.xnio.ByteBufferPool$Cache getDefaultCache();
    descriptor: ()Lorg/xnio/ByteBufferPool$Cache;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.ByteBufferPool this
         0: .line 493
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.defaultCache:Lorg/xnio/ByteBufferPool$Cache;
            areturn
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/ByteBufferPool;

  java.util.concurrent.ConcurrentLinkedQueue<java.nio.ByteBuffer> getMasterQueue();
    descriptor: ()Ljava/util/concurrent/ConcurrentLinkedQueue;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.xnio.ByteBufferPool this
         0: .line 497
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.masterQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
            areturn
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/xnio/ByteBufferPool;
    Signature: ()Ljava/util/concurrent/ConcurrentLinkedQueue<Ljava/nio/ByteBuffer;>;

  private java.nio.ByteBuffer allocateMaster();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // org.xnio.ByteBufferPool this
         0: .line 501
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.masterQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
            invokevirtual java.util.concurrent.ConcurrentLinkedQueue.poll:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            astore 1 /* byteBuffer */
        start local 1 // java.nio.ByteBuffer byteBuffer
         1: .line 502
            aload 1 /* byteBuffer */
            ifnonnull 3
         2: .line 503
            aload 0 /* this */
            invokevirtual org.xnio.ByteBufferPool.createBuffer:()Ljava/nio/ByteBuffer;
            astore 1 /* byteBuffer */
         3: .line 505
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 1 /* byteBuffer */
            areturn
        end local 1 // java.nio.ByteBuffer byteBuffer
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Lorg/xnio/ByteBufferPool;
            1    4     1  byteBuffer  Ljava/nio/ByteBuffer;

  static org.xnio.ByteBufferPool create(int, boolean);
    descriptor: (IZ)Lorg/xnio/ByteBufferPool;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // int size
        start local 1 // boolean direct
         0: .line 509
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 1
            iload 0 /* size */
            invokestatic java.lang.Integer.bitCount:(I)I
            iconst_1
            if_icmpeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 510
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 2
            iload 0 /* size */
            bipush 16
            if_icmpge 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 511
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 3
            iload 0 /* size */
            ldc 1073741824
            if_icmple 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 512
      StackMap locals:
      StackMap stack:
            new org.xnio.ByteBufferPool$1
            dup
            iload 0 /* size */
            iload 1 /* direct */
            invokespecial org.xnio.ByteBufferPool$1.<init>:(IZ)V
            areturn
        end local 1 // boolean direct
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    size  I
            0    4     1  direct  Z
    MethodParameters:
        Name  Flags
      size    final
      direct  final

  static org.xnio.ByteBufferPool subPool(org.xnio.ByteBufferPool, int);
    descriptor: (Lorg/xnio/ByteBufferPool;I)Lorg/xnio/ByteBufferPool;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.xnio.ByteBufferPool parent
        start local 1 // int size
         0: .line 521
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 1
            iload 1 /* size */
            invokestatic java.lang.Integer.bitCount:(I)I
            iconst_1
            if_icmpeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 522
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 2
            aload 0 /* parent */
            invokevirtual org.xnio.ByteBufferPool.getSize:()I
            invokestatic java.lang.Integer.bitCount:(I)I
            iconst_1
            if_icmpeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 523
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 3
            iload 1 /* size */
            bipush 16
            if_icmpge 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 524
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 4
            iload 1 /* size */
            aload 0 /* parent */
            invokevirtual org.xnio.ByteBufferPool.getSize:()I
            if_icmplt 4
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         4: .line 526
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 5
            aload 0 /* parent */
            invokevirtual org.xnio.ByteBufferPool.getSize:()I
            iload 1 /* size */
            irem
            ifeq 5
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 527
      StackMap locals:
      StackMap stack:
            new org.xnio.ByteBufferPool$2
            dup
            iload 1 /* size */
            aload 0 /* parent */
            invokevirtual org.xnio.ByteBufferPool.isDirect:()Z
            aload 0 /* parent */
            invokespecial org.xnio.ByteBufferPool$2.<init>:(IZLorg/xnio/ByteBufferPool;)V
            areturn
        end local 1 // int size
        end local 0 // org.xnio.ByteBufferPool parent
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0  parent  Lorg/xnio/ByteBufferPool;
            0    6     1    size  I
    MethodParameters:
        Name  Flags
      parent  final
      size    final

  abstract java.nio.ByteBuffer createBuffer();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0400) ACC_ABSTRACT

  final void freeMaster(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // java.nio.ByteBuffer buffer
         0: .line 554
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.masterQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
            aload 1 /* buffer */
            invokevirtual java.util.concurrent.ConcurrentLinkedQueue.add:(Ljava/lang/Object;)Z
            pop
         1: .line 555
            return
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lorg/xnio/ByteBufferPool;
            0    2     1  buffer  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      buffer  

  final void doFree(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.xnio.ByteBufferPool this
        start local 1 // java.nio.ByteBuffer buffer
         0: .line 558
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 1
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.capacity:()I
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.size:I
            if_icmpeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 559
      StackMap locals:
      StackMap stack:
            getstatic org.xnio.ByteBufferPool.$assertionsDisabled:Z
            ifne 2
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.isDirect:()Z
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.direct:Z
            if_icmpeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 560
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
         3: .line 561
            aload 0 /* this */
            getfield org.xnio.ByteBufferPool.threadLocalCache:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast org.xnio.ByteBufferPool$Cache
            aload 1 /* buffer */
            invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
         4: .line 562
            return
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // org.xnio.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/xnio/ByteBufferPool;
            0    5     1  buffer  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      buffer  final
}
SourceFile: "ByteBufferPool.java"
NestMembers:
  org.xnio.ByteBufferPool$1  org.xnio.ByteBufferPool$2  org.xnio.ByteBufferPool$Cache  org.xnio.ByteBufferPool$DefaultCache  org.xnio.ByteBufferPool$MultiCache  org.xnio.ByteBufferPool$OneCache  org.xnio.ByteBufferPool$Set  org.xnio.ByteBufferPool$TwoCache
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  org.xnio.ByteBufferPool$1
  org.xnio.ByteBufferPool$2
  abstract Cache = org.xnio.ByteBufferPool$Cache of org.xnio.ByteBufferPool
  final DefaultCache = org.xnio.ByteBufferPool$DefaultCache of org.xnio.ByteBufferPool
  final MultiCache = org.xnio.ByteBufferPool$MultiCache of org.xnio.ByteBufferPool
  final OneCache = org.xnio.ByteBufferPool$OneCache of org.xnio.ByteBufferPool
  public final Set = org.xnio.ByteBufferPool$Set of org.xnio.ByteBufferPool
  final TwoCache = org.xnio.ByteBufferPool$TwoCache of org.xnio.ByteBufferPool