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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0-beta
    • JSR-344
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: