From commits-return-6627-apmail-tapestry-dev-archive=tapestry.apache.org@tapestry.apache.org Tue Dec 08 13:33:41 2009 Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 6006 invoked from network); 8 Dec 2009 13:33:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Dec 2009 13:33:41 -0000 Received: (qmail 49769 invoked by uid 500); 8 Dec 2009 13:33:41 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 49661 invoked by uid 500); 8 Dec 2009 13:33:40 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 49651 invoked by uid 99); 8 Dec 2009 13:33:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 13:33:40 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 13:33:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 26A4329A0011 for ; Tue, 8 Dec 2009 05:33:18 -0800 (PST) Message-ID: <2033237595.1260279198144.JavaMail.jira@brutus> Date: Tue, 8 Dec 2009 13:33:18 +0000 (UTC) From: "Olle Hallin (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Created: (TAP5-945) Lock contention in PerthreadManagerImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Lock contention in PerthreadManagerImpl --------------------------------------- Key: TAP5-945 URL: https://issues.apache.org/jira/browse/TAP5-945 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.1.0.5 Reporter: Olle Hallin Priority: Minor When load testing our new high-volume site before soft launch, we found that we have severe lock contention in org.apache.tapestry5.ioc.internal.services.PerthreadManagerImpl. It synchronizes on "this" before invoking ThreadLocal.get() and ThreadLocal.remove(), which I believe is unnecessary. During our tests, approximately 35% of all Tomcat threads were waiting for this lock in any of 10 thread dumps taken 15 seconds apart. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.