Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C989610B4F for ; Mon, 2 Sep 2013 20:44:08 +0000 (UTC) Received: (qmail 44805 invoked by uid 500); 2 Sep 2013 20:44:06 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 44278 invoked by uid 500); 2 Sep 2013 20:44:06 -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 44269 invoked by uid 99); 2 Sep 2013 20:44:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 20:44:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 20:44:04 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id EC9CC1BAA3; Mon, 2 Sep 2013 20:43:43 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: [Bug 55511] Reduce contention on WebappClassLoader Date: Mon, 02 Sep 2013 20:43:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 8 X-Bugzilla-Component: Catalina X-Bugzilla-Version: 8.0.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: ---- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=55511 --- Comment #4 from Konstantin Kolinko --- > @Override > - public synchronized Class loadClass(String name, boolean resolve) > + public Class loadClass(String name, boolean resolve) The method that is overridden here is marked as synchronized in java.lang.ClassLoader in Java 6. Thus it is synchronized in Tomcat as well. That method is not synchronized in Java 7, but as far as I remember, you need to jump through some hoops such as "registerAsParallelCapable()" to make use of parallel execution. See discussion in bug 48903 (esp. comments 2 and 6). Discussion in issue 48903 was three years ago when Java 7 was still beta. I am not aware of what is the current state of affairs in that API. -- 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