• Basics of reference counting
  • Dangling reference
  • Increasing the reference count
  • Who destroys it?
  • Derived buffers
  • ByteBufHolder interface
  • Reference-counting in ChannelHandler
  • Inbound messages
  • Outbound messages
  • Troubleshooting buffer leaks
  • Leak detection levels
  • Best practices to avoid leaks
  • Fixing leaks in unit tests