public class jdk.incubator.http.internal.common.ByteBufferPool
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.incubator.http.internal.common.ByteBufferPool
  super_class: java.lang.Object
{
  private final java.util.Queue<java.nio.ByteBuffer> pool;
    descriptor: Ljava/util/Queue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Queue<Ljava/nio/ByteBuffer;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.incubator.http.internal.common.ByteBufferPool this
         0: .line 42
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 40
            aload 0 /* this */
            new java.util.concurrent.ConcurrentLinkedQueue
            dup
            invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
            putfield jdk.incubator.http.internal.common.ByteBufferPool.pool:Ljava/util/Queue;
         2: .line 43
            return
        end local 0 // jdk.incubator.http.internal.common.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/incubator/http/internal/common/ByteBufferPool;

  public jdk.incubator.http.internal.common.ByteBufferReference get(int);
    descriptor: (I)Ljdk/incubator/http/internal/common/ByteBufferReference;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.incubator.http.internal.common.ByteBufferPool this
        start local 1 // int size
         0: .line 47
            goto 3
        start local 2 // java.nio.ByteBuffer buffer
         1: .line 48
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 2 /* buffer */
            invokevirtual java.nio.ByteBuffer.capacity:()I
            iload 1 /* size */
            if_icmplt 3
         2: .line 49
            aload 2 /* buffer */
            aload 0 /* this */
            invokestatic jdk.incubator.http.internal.common.ByteBufferReference.of:(Ljava/nio/ByteBuffer;Ljdk/incubator/http/internal/common/ByteBufferPool;)Ljdk/incubator/http/internal/common/ByteBufferReference;
            areturn
        end local 2 // java.nio.ByteBuffer buffer
         3: .line 47
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.incubator.http.internal.common.ByteBufferPool.pool:Ljava/util/Queue;
            invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            dup
            astore 2 /* buffer */
        start local 2 // java.nio.ByteBuffer buffer
         4: ifnonnull 1
         5: .line 52
            iload 1 /* size */
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            aload 0 /* this */
            invokestatic jdk.incubator.http.internal.common.ByteBufferReference.of:(Ljava/nio/ByteBuffer;Ljdk/incubator/http/internal/common/ByteBufferPool;)Ljdk/incubator/http/internal/common/ByteBufferReference;
            areturn
        end local 2 // java.nio.ByteBuffer buffer
        end local 1 // int size
        end local 0 // jdk.incubator.http.internal.common.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Ljdk/incubator/http/internal/common/ByteBufferPool;
            0    6     1    size  I
            1    3     2  buffer  Ljava/nio/ByteBuffer;
            4    6     2  buffer  Ljava/nio/ByteBuffer;
    MethodParameters:
      Name  Flags
      size  

  public void release(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.incubator.http.internal.common.ByteBufferPool this
        start local 1 // java.nio.ByteBuffer buffer
         0: .line 56
            aload 1 /* buffer */
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
         1: .line 57
            aload 0 /* this */
            getfield jdk.incubator.http.internal.common.ByteBufferPool.pool:Ljava/util/Queue;
            aload 1 /* buffer */
            invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
            pop
         2: .line 58
            return
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // jdk.incubator.http.internal.common.ByteBufferPool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/incubator/http/internal/common/ByteBufferPool;
            0    3     1  buffer  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      buffer  
}
SourceFile: "ByteBufferPool.java"