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

Lots of contention on ExtensionManager.openConnection(URL)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • framework-2.0.5
    • framework-3.0.0
    • Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: