public class com.mongodb.internal.connection.tlschannel.TrackingAllocator implements com.mongodb.internal.connection.tlschannel.BufferAllocator
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.mongodb.internal.connection.tlschannel.TrackingAllocator
  super_class: java.lang.Object
{
  private com.mongodb.internal.connection.tlschannel.BufferAllocator impl;
    descriptor: Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;
    flags: (0x0002) ACC_PRIVATE

  private java.util.concurrent.atomic.LongAdder bytesAllocatedAdder;
    descriptor: Ljava/util/concurrent/atomic/LongAdder;
    flags: (0x0002) ACC_PRIVATE

  private java.util.concurrent.atomic.LongAdder bytesDeallocatedAdder;
    descriptor: Ljava/util/concurrent/atomic/LongAdder;
    flags: (0x0002) ACC_PRIVATE

  private java.util.concurrent.atomic.AtomicLong currentAllocationSize;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0002) ACC_PRIVATE

  private java.util.concurrent.atomic.LongAccumulator maxAllocationSizeAcc;
    descriptor: Ljava/util/concurrent/atomic/LongAccumulator;
    flags: (0x0002) ACC_PRIVATE

  private java.util.concurrent.atomic.LongAdder buffersAllocatedAdder;
    descriptor: Ljava/util/concurrent/atomic/LongAdder;
    flags: (0x0002) ACC_PRIVATE

  private java.util.concurrent.atomic.LongAdder buffersDeallocatedAdder;
    descriptor: Ljava/util/concurrent/atomic/LongAdder;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(com.mongodb.internal.connection.tlschannel.BufferAllocator);
    descriptor: (Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
        start local 1 // com.mongodb.internal.connection.tlschannel.BufferAllocator impl
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 36
            aload 0 /* this */
            new java.util.concurrent.atomic.LongAdder
            dup
            invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.bytesAllocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
         2: .line 37
            aload 0 /* this */
            new java.util.concurrent.atomic.LongAdder
            dup
            invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.bytesDeallocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
         3: .line 38
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.currentAllocationSize:Ljava/util/concurrent/atomic/AtomicLong;
         4: .line 39
            aload 0 /* this */
            new java.util.concurrent.atomic.LongAccumulator
            dup
            new com.mongodb.internal.connection.tlschannel.TrackingAllocator$1
            dup
            aload 0 /* this */
            invokespecial com.mongodb.internal.connection.tlschannel.TrackingAllocator$1.<init>:(Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;)V
         5: .line 44
            lconst_0
         6: .line 39
            invokespecial java.util.concurrent.atomic.LongAccumulator.<init>:(Ljava/util/function/LongBinaryOperator;J)V
            putfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.maxAllocationSizeAcc:Ljava/util/concurrent/atomic/LongAccumulator;
         7: .line 46
            aload 0 /* this */
            new java.util.concurrent.atomic.LongAdder
            dup
            invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.buffersAllocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
         8: .line 47
            aload 0 /* this */
            new java.util.concurrent.atomic.LongAdder
            dup
            invokespecial java.util.concurrent.atomic.LongAdder.<init>:()V
            putfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.buffersDeallocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
         9: .line 50
            aload 0 /* this */
            aload 1 /* impl */
            putfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.impl:Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;
        10: .line 51
            return
        end local 1 // com.mongodb.internal.connection.tlschannel.BufferAllocator impl
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
            0   11     1  impl  Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;
    MethodParameters:
      Name  Flags
      impl  final

  public org.bson.ByteBuf allocate(int);
    descriptor: (I)Lorg/bson/ByteBuf;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
        start local 1 // int size
         0: .line 54
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.bytesAllocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            iload 1 /* size */
            i2l
            invokevirtual java.util.concurrent.atomic.LongAdder.add:(J)V
         1: .line 55
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.currentAllocationSize:Ljava/util/concurrent/atomic/AtomicLong;
            iload 1 /* size */
            i2l
            invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
            pop2
         2: .line 56
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.buffersAllocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
         3: .line 57
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.impl:Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;
            iload 1 /* size */
            invokeinterface com.mongodb.internal.connection.tlschannel.BufferAllocator.allocate:(I)Lorg/bson/ByteBuf;
            areturn
        end local 1 // int size
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
            0    4     1  size  I
    MethodParameters:
      Name  Flags
      size  final

  public void free(org.bson.ByteBuf);
    descriptor: (Lorg/bson/ByteBuf;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
        start local 1 // org.bson.ByteBuf buffer
         0: .line 61
            aload 1 /* buffer */
            invokeinterface org.bson.ByteBuf.capacity:()I
            istore 2 /* size */
        start local 2 // int size
         1: .line 62
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.bytesDeallocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            iload 2 /* size */
            i2l
            invokevirtual java.util.concurrent.atomic.LongAdder.add:(J)V
         2: .line 63
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.maxAllocationSizeAcc:Ljava/util/concurrent/atomic/LongAccumulator;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.currentAllocationSize:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.longValue:()J
            invokevirtual java.util.concurrent.atomic.LongAccumulator.accumulate:(J)V
         3: .line 64
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.currentAllocationSize:Ljava/util/concurrent/atomic/AtomicLong;
            iload 2 /* size */
            ineg
            i2l
            invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
            pop2
         4: .line 65
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.buffersDeallocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            invokevirtual java.util.concurrent.atomic.LongAdder.increment:()V
         5: .line 66
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.impl:Lcom/mongodb/internal/connection/tlschannel/BufferAllocator;
            aload 1 /* buffer */
            invokeinterface com.mongodb.internal.connection.tlschannel.BufferAllocator.free:(Lorg/bson/ByteBuf;)V
         6: .line 67
            return
        end local 2 // int size
        end local 1 // org.bson.ByteBuf buffer
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
            0    7     1  buffer  Lorg/bson/ByteBuf;
            1    7     2    size  I
    MethodParameters:
        Name  Flags
      buffer  final

  public long bytesAllocated();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
         0: .line 70
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.bytesAllocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
            lreturn
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;

  public long bytesDeallocated();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
         0: .line 74
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.bytesDeallocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
            lreturn
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;

  public long currentAllocation();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
         0: .line 78
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.currentAllocationSize:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.longValue:()J
            lreturn
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;

  public long maxAllocation();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
         0: .line 82
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.maxAllocationSizeAcc:Ljava/util/concurrent/atomic/LongAccumulator;
            invokevirtual java.util.concurrent.atomic.LongAccumulator.longValue:()J
            lreturn
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;

  public long buffersAllocated();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
         0: .line 86
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.buffersAllocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
            lreturn
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;

  public long buffersDeallocated();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
         0: .line 90
            aload 0 /* this */
            getfield com.mongodb.internal.connection.tlschannel.TrackingAllocator.buffersDeallocatedAdder:Ljava/util/concurrent/atomic/LongAdder;
            invokevirtual java.util.concurrent.atomic.LongAdder.longValue:()J
            lreturn
        end local 0 // com.mongodb.internal.connection.tlschannel.TrackingAllocator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/tlschannel/TrackingAllocator;
}
SourceFile: "TrackingAllocator.java"
NestMembers:
  com.mongodb.internal.connection.tlschannel.TrackingAllocator$1
InnerClasses:
  com.mongodb.internal.connection.tlschannel.TrackingAllocator$1