> > Do any multi-threading wizards out there have an opinion on > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2214 >
At the moment, the 'getActionInstanceLock' method returns an object for the action class to ensure that there is effectively one monitor (lock object) for each action class. However, this code has to be synchronised in case the lock object doesn't exist and needs to be created. To avoid having to synchronize on the 'getActionInstanceLock' method, would it not be better to have the Action class create an entry for itself into 'actionInstanceLocks' collection during the class initialisation? Or use the action class object itself instead? Andy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>