I reverted the addition of unnecesary volatile modifiers added in this commit:
uthor: clebert.suconic@jboss.com Date: 2009-11-04 18:29:37 -0500 (Wed, 04 Nov 2009) New Revision: 8214 Modified: trunk/src/main/org/hornetq/core/server/impl/ServerConsumerImpl.java Log: Fixing eventual failure on LargeMessageTest
Memory Synchronization
All Lock implementations must enforce the same memory synchronization semantics as provided by the built-in monitor lock:
* A successful lock operation acts like a successful monitorEnter action
* A successful unlock operation acts like a successful monitorExit action