https://issues.apache.org/bugzilla/show_bug.cgi?id=50192

           Summary: performance issue after revision 746425
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: robert_goff...@yahoo.com


Revision 746425 changed at least 2 files: ELResolverImpl and ELContextImpl.  I
believe this causes an unnecessary performance regression in these two files.

In ELResolverImpl, every time that getDefaultResolver is called with security
enabled, a new Object is going to be created.  It appears as if
getDefaultResolver is going to be called a lot and this could significantly
hurt performance.  I understand changing the DefaultResolver to be private and
allowing access to it through the getter method, however, I don't believe a new
object needs to be created every time the method is called.

In ELContextImpl, why does a new FunctionMapper need to be created for each
ELContextImpl?

Thanks.

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to