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

Leonardo Uribe resolved MYFACES-3218.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.0.8

> UILeaf memory improvements
> --------------------------
>
>                 Key: MYFACES-3218
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3218
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.8, 2.1.2
>
>
> Doing some tests, I notice org.apache.myfaces.view.facelets.compiler.UILeaf 
> does not override attributes map, and it should be. 
> This cause some side effects. Component attributes map is used to store 
> org.apache.myfaces.view.facelets.MARK_ID key, but do that creates 2 HashMap 
> instances (state helper, state helper attributes key) with default size, but 
> in practice only 1 attribute will be set. This component is just a reference 
> to render markup, so there it is a waste of memory resources, more if you 
> consider that jsf pages are a mixture between markup (backed by UILeaf) and 
> stateful components.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to