Protocol framework: use pooled ByteBuf allocator
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)
commita4d78ed1ec63ae1ef5f78e2d6c7455bd5329b681
tree343be525d85aa47665b3d17a543af3afb7358e1b
parent294cbf489892e5ef7d9d7cc9ef0b2ecf4a6cc4bb
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>
src/main/java/org/opendaylight/protocol/framework/AbstractDispatcher.java