[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1905) Performance: Improve the creation of lifecycle callback interceptors

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Aug 28 10:53:37 EDT 2009


Performance: Improve the creation of lifecycle callback interceptors
--------------------------------------------------------------------

                 Key: EJBTHREE-1905
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1905
             Project: EJB 3.0
          Issue Type: Bug
          Components: core, interceptors
    Affects Versions: 1.1.15
            Reporter: jaikiran pai
            Assignee: jaikiran pai


Recent performance analysis of EJB3 applications has shown that creation of lifecycle callback interceptors (which involves AOP, Annotation scanning through MDR, and java reflection) is expensive. Prior to EJBTHREE-1896 these interceptors were being created on every invocation of the lifecycle method. As part of the fix for EJBTHREE-1896, we had reduced this creation to *per beancontext for each lifecycle type*. Although, it improved the performance, we see that it's still one of the areas which can be improved. And given that lookups of bean is quite common (that's one of the flows which results in the interceptor creation), it would be better to create these interceptors only once *per bean for each lifecycle type*.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list