infinispan/infinispan — pull request #1517 by tristantarrant (2012-12-07 09:34:44+00:00)
Title: ISPN-2543 Make MBean getters non-synchronized to avoid deadlocks

https://issues.jboss.org/browse/ISPN-2543

The server core transport mbean attribute getNumberOfGlobalConnections invokes a distributed executor which in turn invokes the getNumberOfLocalConnections attribute on each node. since the ResourceDMBean.getAttribute and getNamedAttribute methods are synchronized this causes a deadlock. I don't believe the getters should be synchronized