摘要:
ByteBufis always reference countedTo control the life cycle of aByteBufin a more predictable way, Netty does not rely on the garbage collector anymore but employs an explicit reference counter. Here's the basic rule:When a buffer is allocated, its initial reference count is 1.If the reference co 阅读全文