netty源碼閱讀之ByteBuf以內存page級別內存的分配

咱們繼續回到PoolArena的分配內存的方法:html private void allocate(PoolThreadCache cache, PooledByteBuf<T> buf, final int reqCapacity) { final int normCapacity = normalizeCapacity(reqCapacity); if (is
相關文章
相關標籤/搜索