Uploaded image for project: 'JBoss Remoting'
  1. JBoss Remoting
  2. JBREM-1269

Fix deadlock between Client and MicroRemoteClientInvoker, part 2

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.5.3.SP1, 2.2.3.SP3
    • Fix Version/s: 2.5.4, 2.2.4
    • Component/s: None
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ron_sigal Ron Sigal
                  Reporter:
                  ron_sigal Ron Sigal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: