Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3777

[perf] minimize FacesContext.getCurrentInstance() in some new points

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-beta
    • Component/s: JSR-344
    • Labels:
      None

      Description

      With the introduction of the new JSF 2.2 spec, there are new points where we need FacesContext instance. The idea is just minimize those calls.

      When a view is refreshed, many FacesContext.getCurrentInstance() calls are required because setParent() is called. I have found a way to avoid that and improve performance a bit in that part.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: