Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 75888 invoked from network); 11 Jul 2002 20:07:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Jul 2002 20:07:12 -0000 Received: (qmail 23912 invoked by uid 97); 11 Jul 2002 20:07:23 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 23891 invoked by uid 97); 11 Jul 2002 20:07:23 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 23878 invoked by uid 50); 11 Jul 2002 20:07:22 -0000 Date: 11 Jul 2002 20:07:22 -0000 Message-ID: <20020711200722.23877.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 10563] - Multiple compiles for multiple requests X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10563 Multiple compiles for multiple requests ------- Additional Comments From H.Zeller@acm.org 2002-07-11 20:07 ------- Probably better in JspCompilationContext, since there is the place, where the isOutDated() is checked. And: it should be synchronized with the jspCompiler object, not the Compiler.class, since this would serialize compilation completely; synchronizing the compiler will only serialize attempts to compile the same file. ----------[ from JspCompilationContext.compile() ] -- if (jspCompiler.isOutDated()) { try { synchronized (jspCompiler) { if (jspCompiler.isOutDated()) { jspCompiler.compile(); reload = true; } } } catch (Exception ex) { //.... } } ------- -- To unsubscribe, e-mail: For additional commands, e-mail: