Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 14077 invoked from network); 12 May 2010 08:27:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 08:27:05 -0000 Received: (qmail 63104 invoked by uid 500); 12 May 2010 08:27:04 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 62671 invoked by uid 500); 12 May 2010 08:27:04 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 62658 invoked by uid 99); 12 May 2010 08:27:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 08:27:03 +0000 X-ASF-Spam-Status: No, hits=-1416.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 08:27:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4C8Qgik017551 for ; Wed, 12 May 2010 08:26:42 GMT Message-ID: <20662074.21601273652802532.JavaMail.jira@thor> Date: Wed, 12 May 2010 04:26:42 -0400 (EDT) From: "Karl Pauls (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL) In-Reply-To: <31137117.15231273555349293.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Pauls resolved FELIX-2332. ------------------------------- Resolution: Fixed Should be fixed now. Please close if it works for you. > 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.