I have once played with changing how the buffers are created on JBM 2, and I'm sure we
don't need auto-expanding buffers.
When we send a message, we could verify the getEncodeSize(), and pre-allocate the buffers
at the exact size necessary to send them. It shouldn't be too difficult of doing
that.
So, if you (Trustin) are having issues with the auto-expanding buffer, I'm pretty sure
we can get rid of that. (At least on sending.. I'm not sure how the buffers are
created on reading).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171387#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...