Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2332

Lots of contention on ExtensionManager.openConnection(URL)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: framework-2.0.5
    • Fix Version/s: framework-3.0.0
    • Component/s: Framework
    • Labels:
      None

      Description

      This method is synchronized, apparently to protect is the iteration through the m_extensions list. We have seen significant blocking in our applications as this lock encompasses the call to URL.openConnection as well.

      As this list is rarely changed, a copy-on-write structure would be more appropriate, but at the very least the, only holding the lock during the iteration would be far preferable.

        Attachments

        1. ExtensionManager.java.patch
          2 kB
          Jed Wesley-Smith

          Activity

            People

            • Assignee:
              karlpauls Karl Pauls
              Reporter:
              jedws Jed Wesley-Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: