[jboss-dev-forums] [Design of POJO Server] - Re: Another startup time regression
kabir.khan@jboss.com
do-not-reply at jboss.com
Thu Feb 7 08:59:53 EST 2008
The regression is due to a bug fix in the annotation processing. It was not always checking the Advisor.metadata when checking annotations for methods, this has now been added, but slows it down.
The main underlying problem is that the pointcut matchers work on strings, but to check for the annotations in the metadata repository (org.jboss.metadata.spi.MetaData.isAnnotationPresent()) we need to convert the String into a Class, by attempting to load the class. All in all, that means a lot of attempts to load classes.
I don't see an easy fix for this
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127387#4127387
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127387
More information about the jboss-dev-forums
mailing list