Reputation: 33
Pooled ByteBuf need return to the pool when Reference count associated with it reach 0 according to http://netty.io/wiki/reference-counted-objects.html,But what do with ByteBuf alloc from UnPooled?
Upvotes: 0
Views: 382
Reputation: 23567
Yes there are reference counted to allow us free direct memory in a timely manner.
Upvotes: 2