Description
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.