[
https://issues.apache.org/jira/browse/MYFACES-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289328#comment-13289328
]
Martin Kočí commented on MYFACES-3562:
--------------------------------------
Ah, I see ... in that case new _AttachedDeltaWrapper(_converter.getClass(),
/* null */ attachedState); represent the change setConverter(null), right?
Ok, I created this issue, because in my view I have hundreds of UIOutput, each
with a converter. During saveView, for each converter a instance of
_AttachedDeltaWrapper is created, but immediatelly GCed. In this case,
_AttachedDeltaWrapper has attachedState null too. Is it possible to distinguish
between these two cases?
> [perf] Optimize UIOutput.saveState(FacesContext)
> ------------------------------------------------
>
> Key: MYFACES-3562
> URL: https://issues.apache.org/jira/browse/MYFACES-3562
> Project: MyFaces Core
> Issue Type: Improvement
> Reporter: Martin Kočí
> Priority: Trivial
> Attachments: MYFACES-3562.patch
>
>
> 1) use converterSaved as delta change check
> 2) remove nullDelta boolean
> 3) move new _AttachedDeltaWrapper into if (attachedState != null) statement
> question: _AttachedDeltaWrapper used in this context provides Class of
> Converter, but that info is not used in restoreState - can we remove usage of
> that wrapper?
--
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