code: private synchronized void trim() {
          while (mCurrentSize > mSizeLimit) {
              byte[] buf = mBuffersByLastUse.remove(0);
              mBuffersBySize.remove(buf);
              mCurrentSize -= buf.length;
          }
      }
docs: Removes buffers from the pool until it is under its size limit.