Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1381

Empty resolvedComponents not cached in InjectionResolver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.21
    • None
    • Injection and Lookup
    • None

    Description

      YourKit performance analyzer showed that the call of InjectionResolver.implResolveByType() could be pretty expensive. The method uses caching except the case when no component is found. This case is skipped at the end of the metod as is visible at:

      https://github.com/apache/openwebbeans/blob/master/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectionResolver.java#L559

       

      In our case we have huge JSF page with a lot of JSF Converters classes, that form injectionPointType input argument of the method. It is not clear why JSF converters are not found...

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            skybber Vladimir Dvorak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: