Protocol framework: use pooled ByteBuf allocator 69/7769/6
authorRobert Varga <rovarga@cisco.com>
Fri, 6 Jun 2014 08:39:35 +0000 (10:39 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 30 Jun 2014 10:38:32 +0000 (12:38 +0200)
commit8e09ec4ff603c81b89020df742cf955637e08846
treeaca998ec02b6bd76c8943df670bb48854c3fce81
parent8ce1f7c0dc98e3f49698325187ef5e895a0617e8
Protocol framework: use pooled ByteBuf allocator

This should enhance the default performance characteristics by reusing
ByteBufs if possible. With 4.0.19, netty keeps a thread-local cache of
direct buffers, so we should see a reduction in buffer copying, if not
other effects.

Change-Id: I81fcf380f6f3b03187000dbca0dd8507975e8dd1
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/commons/protocol-framework/src/main/java/org/opendaylight/protocol/framework/AbstractDispatcher.java