myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Andraschko (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3250) [perf] Implement o.a.m.SUPPORT_MANAGED_BEANS
Date Tue, 05 Sep 2017 14:49:00 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Andraschko resolved MYFACES-3250.
----------------------------------------
    Resolution: Fixed

> [perf] Implement o.a.m.SUPPORT_MANAGED_BEANS
> --------------------------------------------
>
>                 Key: MYFACES-3250
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3250
>             Project: MyFaces Core
>          Issue Type: Improvement
>         Environment: myfaces trunk,  tomcat 6.0.26
>            Reporter: Martin Kočí
>            Assignee: Thomas Andraschko
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> When running stress test this is one of the most BLOCKED thread (blocked on some ArrayList
monitor in tomcat internals):
> org.apache.catalina.core.ContainerBase.fireContainerEvent(String, Object)
>    org.apache.catalina.session.StandardSession.fireContainerEvent(Context, String, Object)
>       org.apache.catalina.session.StandardSession.setAttribute(String, Object, boolean)
>          org.apache.catalina.session.StandardSession.setAttribute(String, Object)
>             org.apache.catalina.session.StandardSessionFacade.setAttribute(String, Object)

>                org.apache.myfaces.context.servlet.SessionMap.setAttribute(String, Object)
>                   org.apache.myfaces.util.AbstractThreadSafeAttributeMap.put(String,
Object)
>                      org.apache.myfaces.util.AbstractThreadSafeAttributeMap.put(Object,
Object)
> This happens when someone puts a attribute into httpSession:
> org.apache.myfaces.util.AbstractThreadSafeAttributeMap.put(Object, Object)
>   org.apache.myfaces.renderkit.ServerSideStateCacheImpl.nextViewSequence(FacesContext)
>   org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.getResponseEncoding(FacesContext,
String)	
>   org.apache.myfaces.renderkit.ServerSideStateCacheImpl.saveSerializedViewInServletSession(FacesContext,

> then Servlet container delivers event HttpSessionBindingEvent.
> in myfaces HttpSessionAttributeListener in implemented by oam.StartupServletContextListener
and handles some stuff for managed beans. 
> Review if this is needed - ideally remove it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message