From dev-return-109963-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Sat Oct 02 19:25:19 2010 Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 9932 invoked from network); 2 Oct 2010 19:25:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Oct 2010 19:25:18 -0000 Received: (qmail 62283 invoked by uid 500); 2 Oct 2010 19:25:18 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 62175 invoked by uid 500); 2 Oct 2010 19:25:17 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 62166 invoked by uid 99); 2 Oct 2010 19:25:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 19:25:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Sat, 02 Oct 2010 19:25:17 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o92JOus5015145 for ; Sat, 2 Oct 2010 19:24:56 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o92JOuLa015144; Sat, 2 Oct 2010 15:24:56 -0400 (EDT) Date: Sat, 2 Oct 2010 15:24:56 -0400 (EDT) Message-Id: <201010021924.o92JOuLa015144@thor.apache.org> From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 49730] Race condition in StandardThreadExecutor : requests are sometimes enqueued instead of creating new threads X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 6 X-Bugzilla-Component: Catalina X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: knst.kolinko@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: default X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49730 --- Comment #5 from Konstantin Kolinko 2010-10-02 15:24:51 EDT --- Regarding TC7: 1) Why StandardThreadExecutor in TC7 was not patched? Can it be removed, or should it be patched by applying TC6 patch to TC7? 2) (unrelated issue) Apparently there is a bug in catch (InterruptedException x) block in ThreadPoolExecutor.execute(..) in TC7: s/Thread.interrupted()/Thread.currentThread().interrupt() For reference: http://www.ibm.com/developerworks/java/library/j-jtp05236.html Regarding TC6 and TC7 patches: 2) I would prefer using a finally block to decrement the counter on errors. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org