« Return to Thread: [jira] [Created] (MYFACES-3551) [perf] pps: Implement PartialStateHolder in SetPropertyListener, LazyValueChangeListener and LazyActionListener

[jira] [Commented] (MYFACES-3551) [perf] pps: Implement PartialStateHolder in SetPropertyListener, LazyValueChangeListener and LazyActionListener

by My Faces - Dev mailing list :: Rate this Message:

| View in Thread


    [ https://issues.apache.org/jira/browse/MYFACES-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283473#comment-13283473 ]

Leonardo Uribe commented on MYFACES-3551:
-----------------------------------------

I checked it and it is not necessary. Right now, those tags does not generate any state because _DeltaList considers all Serializable or no StateHolder listener, inmutables, so they are not considered when calculating delta state.
               

> [perf] pps: Implement PartialStateHolder in SetPropertyListener, LazyValueChangeListener and LazyActionListener
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3551
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3551
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 2.0.13, 2.1.7
>            Reporter: Martin Kočí
>            Assignee: Martin Kočí
>            Priority: Minor
>
> org.apache.myfaces.view.facelets.tag.jsf.core.SetPropertyActionListenerHandler$SetPropertyListener
> org.apache.myfaces.view.facelets.tag.jsf.core.ValueChangeListenerHandler$LazyValueChangeListener
> org.apache.myfaces.view.facelets.tag.jsf.core.ActionListenerHandler$LazyActionListener
> are not PartialStateHolder and therefore they create instances during PPS in _DeltaList.saveState
> all three can be effectively recreated during VDL.buildView and have no delta because they are immutable.

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


 « Return to Thread: [jira] [Created] (MYFACES-3551) [perf] pps: Implement PartialStateHolder in SetPropertyListener, LazyValueChangeListener and LazyActionListener