Stevan Malesevic created TRINIDAD-2314:
------------------------------------------

             Summary: UIXComponentBase::getFacetsAndChildren creates a lot of 
transient objects impacting GC
                 Key: TRINIDAD-2314
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2314
             Project: MyFaces Trinidad
          Issue Type: Bug
            Reporter: Stevan Malesevic
         Attachments: CompositeReadIterator.java

UIXComponentBase::getFacetsAndChildren creates a new Iterator on every 
invocation. It is frequently used from recursive methods like 
invokeOnChildrenComponents and _findInsideOf which makes memory allocations 
much higher
In case when comp is instance of  UIXComponentBase we can be a bit smarted and 
just walk over _children and _factes avoiding transient memory allocations

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to