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 50192] New: performance issue after revision 746425
Date Mon, 01 Nov 2010 19:17:47 GMT
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_goff828@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message