felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL)
Date Thu, 20 May 2010 09:28:54 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869534#action_12869534

Karl Pauls commented on FELIX-2332:

I agree, will fix as soon as i find the time (weekend in this case probably) - getting close
to a release and this will be part of it.

> Lots of contention on ExtensionManager.openConnection(URL)
> ----------------------------------------------------------
>                 Key: FELIX-2332
>                 URL: https://issues.apache.org/jira/browse/FELIX-2332
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-2.0.5
>            Reporter: Jed Wesley-Smith
>            Assignee: Karl Pauls
>             Fix For: framework-3.0.0
>         Attachments: ExtensionManager.java.patch
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message