hornetq/hornetq — pull request #1760 by clebertsuconic (2014-08-06 19:05:21+00:00)
Title: No need to do a memory copy when using netty >= 4.0.19.

Just slice out the frame and call retain() on it, this will eliminate the need of memory copy for each frame and so improve the overall performance.

Originally done by Norman at https://github.com/hornetq/hornetq/pull/1629