2020年2月23日
摘要: netty 默认使用池化,堆外内存 // 创建内存分配器,使用池化,堆外。正常使用 netty 时,不需要自行创建 PooledByteBufAllocator allocator = new PooledByteBufAllocator(true); // 分配内存 ByteBuf buffer 阅读全文
posted @ 2020-02-23 16:49 偶尔发呆 阅读(747) 评论(0) 推荐(0)