final class org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper extends org.glassfish.grizzly.memory.ByteBufferWrapper implements org.glassfish.grizzly.memory.PooledMemoryManager$PoolBuffer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper
  super_class: org.glassfish.grizzly.memory.ByteBufferWrapper
{
  private final org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice owner;
    descriptor: Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  boolean free;
    descriptor: Z
    flags: (0x0000) 

  protected final java.util.concurrent.atomic.AtomicInteger shareCount;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper source;
    descriptor: Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  private final java.nio.ByteBuffer origVisible;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private void <init>(java.nio.ByteBuffer, org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice);
    descriptor: (Ljava/nio/ByteBuffer;Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
        start local 1 // java.nio.ByteBuffer underlyingByteBuffer
        start local 2 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice owner
         0: .line 1031
            aload 0 /* this */
            aload 1 /* underlyingByteBuffer */
            aload 2 /* owner */
            aconst_null
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            invokespecial org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.<init>:(Ljava/nio/ByteBuffer;Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;Ljava/util/concurrent/atomic/AtomicInteger;)V
         1: .line 1032
            return
        end local 2 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice owner
        end local 1 // java.nio.ByteBuffer underlyingByteBuffer
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0    2     0                  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            0    2     1  underlyingByteBuffer  Ljava/nio/ByteBuffer;
            0    2     2                 owner  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;
    MethodParameters:
                      Name  Flags
      underlyingByteBuffer  final
      owner                 final

  private void <init>(java.nio.ByteBuffer, org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice, org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper, java.util.concurrent.atomic.AtomicInteger);
    descriptor: (Ljava/nio/ByteBuffer;Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;Ljava/util/concurrent/atomic/AtomicInteger;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=5
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
        start local 1 // java.nio.ByteBuffer underlyingByteBuffer
        start local 2 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice owner
        start local 3 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper source
        start local 4 // java.util.concurrent.atomic.AtomicInteger shareCount
         0: .line 1048
            aload 0 /* this */
            aload 1 /* underlyingByteBuffer */
            invokespecial org.glassfish.grizzly.memory.ByteBufferWrapper.<init>:(Ljava/nio/ByteBuffer;)V
         1: .line 1049
            aload 1 /* underlyingByteBuffer */
            ifnonnull 3
         2: .line 1050
            new java.lang.IllegalArgumentException
            dup
            ldc "underlyingByteBuffer cannot be null."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 1052
      StackMap locals: org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper java.nio.ByteBuffer org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper java.util.concurrent.atomic.AtomicInteger
      StackMap stack:
            aload 4 /* shareCount */
            ifnonnull 5
         4: .line 1053
            new java.lang.IllegalArgumentException
            dup
            ldc "shareCount cannot be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 1056
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* owner */
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.owner:Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;
         6: .line 1057
            aload 0 /* this */
            aload 4 /* shareCount */
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.shareCount:Ljava/util/concurrent/atomic/AtomicInteger;
         7: .line 1058
            aload 0 /* this */
            aload 3 /* source */
            ifnull 8
            aload 3 /* source */
            goto 9
      StackMap locals:
      StackMap stack: org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper
         8: aload 0 /* this */
      StackMap locals: org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper java.nio.ByteBuffer org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper java.util.concurrent.atomic.AtomicInteger
      StackMap stack: org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper
         9: putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.source:Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
        10: .line 1060
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.source:Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.visible:Ljava/nio/ByteBuffer;
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.origVisible:Ljava/nio/ByteBuffer;
        11: .line 1061
            return
        end local 4 // java.util.concurrent.atomic.AtomicInteger shareCount
        end local 3 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper source
        end local 2 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice owner
        end local 1 // java.nio.ByteBuffer underlyingByteBuffer
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   12     0                  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            0   12     1  underlyingByteBuffer  Ljava/nio/ByteBuffer;
            0   12     2                 owner  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;
            0   12     3                source  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            0   12     4            shareCount  Ljava/util/concurrent/atomic/AtomicInteger;
    MethodParameters:
                      Name  Flags
      underlyingByteBuffer  final
      owner                 final
      source                final
      shareCount            final

  public org.glassfish.grizzly.memory.PooledMemoryManager$PoolBuffer prepare();
    descriptor: ()Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
         0: .line 1065
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.allowBufferDispose:Z
         1: .line 1066
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.free:Z
         2: .line 1067
            aload 0 /* this */
            areturn
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;

  public org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice owner();
    descriptor: ()Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
         0: .line 1072
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.owner:Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;
            areturn
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;

  public boolean free();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
         0: .line 1077
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.free:Z
            ireturn
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;

  public org.glassfish.grizzly.memory.PooledMemoryManager$PoolBuffer free(boolean);
    descriptor: (Z)Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
        start local 1 // boolean free
         0: .line 1082
            aload 0 /* this */
            iload 1 /* free */
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.free:Z
         1: .line 1083
            aload 0 /* this */
            areturn
        end local 1 // boolean free
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            0    2     1  free  Z
    MethodParameters:
      Name  Flags
      free  final

  public void dispose();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
         0: .line 1090
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.free:Z
            ifeq 2
         1: .line 1091
            return
         2: .line 1093
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.free:Z
         3: .line 1095
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.dispose0:()V
         4: .line 1096
            return
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;

  private void dispose0();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
         0: .line 1100
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.shareCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 1 /* isNotShared */
        start local 1 // boolean isNotShared
         3: .line 1101
            iload 1 /* isNotShared */
            ifne 9
         4: .line 1103
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.shareCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndDecrement:()I
            ifne 5
            iconst_1
            goto 6
      StackMap locals: int
      StackMap stack:
         5: iconst_0
      StackMap locals:
      StackMap stack: int
         6: istore 1 /* isNotShared */
         7: .line 1104
            iload 1 /* isNotShared */
            ifeq 9
         8: .line 1107
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.shareCount:Ljava/util/concurrent/atomic/AtomicInteger;
            iconst_0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
         9: .line 1111
      StackMap locals:
      StackMap stack:
            iload 1 /* isNotShared */
            ifeq 11
        10: .line 1113
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.source:Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            invokevirtual org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.returnToPool:()V
        11: .line 1115
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean isNotShared
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0         this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            3   12     1  isNotShared  Z

  protected org.glassfish.grizzly.memory.ByteBufferWrapper wrapByteBuffer(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Lorg/glassfish/grizzly/memory/ByteBufferWrapper;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
        start local 1 // java.nio.ByteBuffer buffer
         0: .line 1121
            new org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper
            dup
            aload 1 /* buffer */
            aconst_null
         1: .line 1122
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.source:Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
         2: .line 1123
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.shareCount:Ljava/util/concurrent/atomic/AtomicInteger;
         3: .line 1121
            invokespecial org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.<init>:(Ljava/nio/ByteBuffer;Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;Ljava/util/concurrent/atomic/AtomicInteger;)V
            astore 2 /* b */
        start local 2 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper b
         4: .line 1124
            aload 2 /* b */
            iconst_1
            invokevirtual org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.allowBufferDispose:(Z)V
         5: .line 1125
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.shareCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
         6: .line 1127
            aload 2 /* b */
            areturn
        end local 2 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper b
        end local 1 // java.nio.ByteBuffer buffer
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
            0    7     1  buffer  Ljava/nio/ByteBuffer;
            4    7     2       b  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
    MethodParameters:
        Name  Flags
      buffer  final

  protected void checkDispose();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
         0: .line 1136
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.free:Z
            ifeq 2
         1: .line 1137
            new java.lang.IllegalStateException
            dup
            ldc "PoolBuffer has already been disposed"
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.disposeStackTrace:Ljava/lang/Exception;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
         2: .line 1139
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;

  private void returnToPool();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
         0: .line 1145
            aload 0 /* this */
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.origVisible:Ljava/nio/ByteBuffer;
            putfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.visible:Ljava/nio/ByteBuffer;
         1: .line 1146
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.visible:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
         2: .line 1147
            aload 0 /* this */
            getfield org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper.owner:Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolSlice;
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice.offer:(Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolBuffer;)Z
            pop
         3: .line 1148
            return
        end local 0 // org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/memory/PooledMemoryManager$PoolByteBufferWrapper;
}
SourceFile: "PooledMemoryManager.java"
NestHost: org.glassfish.grizzly.memory.PooledMemoryManager
InnerClasses:
  abstract PoolBuffer = org.glassfish.grizzly.memory.PooledMemoryManager$PoolBuffer of org.glassfish.grizzly.memory.PooledMemoryManager
  private final PoolByteBufferWrapper = org.glassfish.grizzly.memory.PooledMemoryManager$PoolByteBufferWrapper of org.glassfish.grizzly.memory.PooledMemoryManager
  final PoolSlice = org.glassfish.grizzly.memory.PooledMemoryManager$PoolSlice of org.glassfish.grizzly.memory.PooledMemoryManager