myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (Created) (JIRA) <>
Subject [jira] [Created] (MYFACES-3474) [perf] LifecycleProviderFactory does not cache created Factory
Date Fri, 24 Feb 2012 19:25:49 GMT
[perf] LifecycleProviderFactory does not cache created Factory

                 Key: MYFACES-3474
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.6, 2.0.12
            Reporter: Martin Kočí
            Assignee: Martin Kočí

It seems that
org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(FacesContext, ManagedBean) tries
to locale implementation of a interface, but the instance found is never stored in application
map: see code in org.apache.myfaces.config.annotation.LifecycleProviderFactory.getLifecycleProviderFactory(ExternalContext)

this lead to Webappclassloader.loadClass invocation, which is sychronized and accesses disk.

Can significantly affect perfomance of myfaces app with managed-bean in multithreaded environment.

maybe reason for ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message