[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ByteBuffer.allocateDirect ridiculously slow

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Mar 3 10:39:31 EST 2009


anonymous wrote : It's a well known fact that direct bytebuffer allocation is much slower

I knew that already. But I didn't expect it to be 100X slower.

I have changed the code to allocate and free buffers directly, and performance won't be a problem for these buffers any more. 


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214584#4214584

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214584



More information about the jboss-dev-forums mailing list