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 48600] Performance issue with tags
Date Tue, 02 Feb 2010 10:35:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48600

Philippe Prados <apache@prados.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Philippe Prados <apache@prados.fr> 2010-02-02 02:35:18 UTC ---
With Tomcat 6.0.x, when the metadata-complete is set to true, the
AnnotationProcessor is empty, and all annotation like @Resources in tag are not
managed.

I think the spec never say that.

The performance issues is due to the presence of AnnotationProcessor with a
page with many tags. Because the implementation have not a cache, and manage
all the super class (to class Object !), a big loop is present for each
attributs, each methods, for each tag classes and super classes, before and
after the tag.

We think it's may be better to add a cache to remember of classes with or
without annotations.

Philippe

-- 
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