DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10563>.
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 [EMAIL PROTECTED]  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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to