hornetq/hornetq — pull request #735 by clebertsuconic (2012-12-13 22:20:08+00:00)
Title: Some optimizations as suggested by an user

Please evaluate these changes with care.. I need a second opinion on what I'm doing here.

Two optimizations...

One of them.. the timedBuffer was actually an old issue we were already aware of.. but couldn't get rid as nanosleep would require native code, and some systems wouldn't support