netty/netty — Issue #62: High-performance direct / heap buffer pool
Author: trustin
Created: 2011-11-17 00:46:18+00:00
State: open

We need a high performance direct / heap buffer pool that can be used by users. So far, we were reluctant about exposing direct buffers to users, but with proper pooling with good documentation, it should be OK in many cases. Heap buffer pool might also be useful when a user creates heap buffers too often because creating a byte array consumes memory bandwidth because JVM always memset the array with NUL.

However, we still need to allow people to use non-pooled heap buffers because it's often very convenient. We can ditch non-pooled direct buffers which make all kind of troubles.