Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: JSR-314
    • Labels:
      None

      Description

      Subtask of MYFACES-3130 [PERF] Avoid unnecessary AbstractList$Itr instances.

      Myfaces use getFacetsAndChildren() iterator for iterating over children in lifecycle methods process(Decodes,Validation,...).

      In typical scenario, one invocation of getFacetsAndChildren() creates:
      1) one instance of iterator from getFacets().values().iterator()
      2) one instance of iterator from getChildren().iterator()
      3) one instance of _FacetsAndChildrenIterator

      we can avoid 2) and 3) with index-based iteration over getChildren(). It will also run faster (see MYFACES-3130).

      1. myfaces-api-MYFACES-3155.patch
        8 kB
        Martin Kočí
      2. myfaces-impl-MYFACES-3155.patch
        2 kB
        Martin Kočí

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Martin Kočí
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development