[jboss-remoting-issues] [JBoss JIRA] Created: (JBREM-1269) Fix deadlock between Client and MicroRemoteClientInvoker, part 2
Ron Sigal (JIRA)
jira-events at lists.jboss.org
Wed Jan 26 20:31:50 EST 2011
Fix deadlock between Client and MicroRemoteClientInvoker, part 2
----------------------------------------------------------------
Key: JBREM-1269
URL: https://issues.jboss.org/browse/JBREM-1269
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.2.3.SP3, 2.5.3.SP1
Reporter: Ron Sigal
Assignee: Ron Sigal
Fix For: 2.5.3.SP2, 2.2.3.SP4
1. a. org.jboss.remoting.MicroRemoteClientInvoker.terminateLease() synchronizes on clientLeaseLock and calls org.jboss.remoting.LeasePinger.stopPing()
b. org.jboss.remoting.LeasePinger.stopPing() calls org.jboss.remoting.Client.notifyListeners(), which synchronized on connectionValidatorLock
2. a. org.jboss.remoting.Client.addConnectionListener() synchronizes on connectionValidatorLock and calls org.jboss.remoting.ConnectionValidator()
b. org.jboss.remoting.ConnectionValidator() calls ConnectionValidator.getParameters()
c. ConnectionValidator.getParameters() calls org.jboss.remoting.MicroRemoteClientInvoker.getLeasePinger()
d. org.jboss.remoting.MicroRemoteClientInvoker.getLeasePinger() synchronized on clientLeaseLock
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-remoting-issues
mailing list