tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44408] New: - EL-expression evaluation slow due to synchronization caused by JspFactory.getDefaultFactory
Date Wed, 13 Feb 2008 11:36:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44408>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44408

           Summary: EL-expression evaluation slow due to synchronization
                    caused by JspFactory.getDefaultFactory
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: robert@manamind.com


Tomcat version 6.0.16 trunk (and earlier)

PageContextImpl.java has:
public static Object proprietaryEvaluate()
that does a:
final ExpressionFactory exprFactory = JspFactory.getDefaultFactory().get
JspApplicationContext(pageContext.getServletContext()).getExpressionFactory();

Our benchmarking of pages using large amounts of EL-expression shows this turns
into a bottleneck due to the fact that JspFactory.getDefaultFactory() is
synchronized.

The bug is very similar to bug #41558

I have a patch that fixes the issue, coming up...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message