[jboss-user] [JBossCache] - Re: Reading threads are blocked

manik.surtani@jboss.com do-not-reply at jboss.com
Mon Jul 16 08:42:01 EDT 2007


Another approach to consider is that if a lock is always needed on a node, it should be created in the constructor rather than being done lazily.  Gets around the unnecessary call to initLock() whenever getLock() is invoked.

Need to think about this a bit first though.

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

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



More information about the jboss-user mailing list