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 Thu, 18 Feb 2010 17:40:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48600

--- Comment #10 from Remy Maucherat <remm@apache.org> 2010-02-18 17:40:37 UTC ---
(In reply to comment #9)
> With JBoss 5.0.0 GA, the class 
> org.apache.catalina.core.StandardContext.DummyAnnotationProcessor
> implements an empty processor.
> It's hard coding to use this "special" version.

Yes, but this "implementation" does nothing but delegate to the
InstanceManager, which then does the same things as Tomcat's
AnnotationProcessor (except slightly slower). For some background history, the
AnnotationProcessor interface was replaced with the InstanceManager interface
to also take over the object instance creation.

AS 5 scans injections ahead of time, so it does what your caching does more or
less. The main problem here is that the newer JSP specs made tags non poolable
in many cases, *and* injectable. Not a very good plan ...

BTW, your patch would need some syncs I think.

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