You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Kočí (Created JIRA)" <de...@myfaces.apache.org> on 2011/12/27 19:44:30 UTC

[jira] [Created] (MYFACES-3432) [perf] [mem] UIViewRoot.saveState(FacesContext) unnecessary saves empty view scope

[perf] [mem] UIViewRoot.saveState(FacesContext) unnecessary saves empty view scope
----------------------------------------------------------------------------------

                 Key: MYFACES-3432
                 URL: https://issues.apache.org/jira/browse/MYFACES-3432
             Project: MyFaces Core
          Issue Type: Improvement
          Components: General
    Affects Versions: 2.1.6-SNAPSHOT
         Environment: myfaces core trunk
            Reporter: Martin Kočí
            Assignee: Martin Kočí
            Priority: Trivial


z.B. 

#{viewScope['myfaces'] == null}

initializes empty view scope map at UIViewRoot and method saveState saves this empty map with an extra ArrayList instance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (MYFACES-3432) [perf] [mem] UIViewRoot.saveState(FacesContext) unnecessary saves empty view scope

Posted by "Martin Kočí (Updated JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kočí updated MYFACES-3432:
---------------------------------

    Status: Patch Available  (was: Open)
    
> [perf] [mem] UIViewRoot.saveState(FacesContext) unnecessary saves empty view scope
> ----------------------------------------------------------------------------------
>
>                 Key: MYFACES-3432
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3432
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 2.1.6-SNAPSHOT
>         Environment: myfaces core trunk
>            Reporter: Martin Kočí
>            Assignee: Martin Kočí
>            Priority: Trivial
>         Attachments: MYFACES-3432.patch
>
>
> z.B. 
> #{viewScope['myfaces'] == null}
> initializes empty view scope map at UIViewRoot and method saveState saves this empty map with an extra ArrayList instance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (MYFACES-3432) [perf] [mem] UIViewRoot.saveState(FacesContext) unnecessary saves empty view scope

Posted by "Leonardo Uribe (Updated) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe updated MYFACES-3432:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.6-SNAPSHOT
                   2.0.12
           Status: Resolved  (was: Patch Available)

Thanks to Martin Koci for provide this patch.
                
> [perf] [mem] UIViewRoot.saveState(FacesContext) unnecessary saves empty view scope
> ----------------------------------------------------------------------------------
>
>                 Key: MYFACES-3432
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3432
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 2.1.6-SNAPSHOT
>         Environment: myfaces core trunk
>            Reporter: Martin Kočí
>            Assignee: Martin Kočí
>            Priority: Trivial
>             Fix For: 2.0.12, 2.1.6-SNAPSHOT
>
>         Attachments: MYFACES-3432.patch
>
>
> z.B. 
> #{viewScope['myfaces'] == null}
> initializes empty view scope map at UIViewRoot and method saveState saves this empty map with an extra ArrayList instance

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira