[jboss-dev-forums] [Design of the JBoss EJB Container] - Re: Reducing Java object lock contention in org.jboss.invoca

ScottMarlow do-not-reply at jboss.com
Thu Feb 1 14:17:46 EST 2007


I left one part out.  I also want to remove the "synchronized" on getPooledConnection() + returnConnection().  

I don't think that we need to lock on both the instance variable "pool" and the class instance of PooledInvokerProxy.

I also see that we don't hold the lock as long anymore (we release it before testing the connection).



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

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



More information about the jboss-dev-forums mailing list