Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
consider a component with 5 listeners (or other attached objects). All listeners implement PartialStateHolder.
In a ideal case, delta is 0.
javax.faces.component._DeltaList.saveState(FacesContext) currently creates :
1) a Object [] array with length 5
2) a _AttachedDeltaWrapper, one for each listener, 5 total
but in the end, when delta is 0, saveState returns null and all object are GCed immediately