Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Null out references to tmpNioBuf and chunk to allow quicker collecting #6279
In PooledByteBuf we missed to null out the chunk and tmpNioBuf fields before recycle it to the Recycler. This could lead to keep objects longer alive then necessary which may hold a lot of memory.
Null out tmpNioBuf and chunk before recycle.
Possible to earlier GC objects.