[ https://issues.apache.org/jira/browse/OWB-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305107#comment-17305107 ]
Vladimir Dvorak commented on OWB-1381: -------------------------------------- In this case converter is created in DeltaSpike class InjectionAwareApplicationWrapper.createConverter : {{Daemon Thread [https-jsse-nio-8443-exec-8] (Suspended (breakpoint at line 572 in InjectionResolver)) }} {{ owns: NioEndpoint$NioSocketWrapper (id=254) }} {{ InjectionResolver.implResolveByType(boolean, Type, Class<?>, Annotation...) line: 572 }} {{ InjectionResolver.implResolveByType(boolean, Type, Annotation...) line: 422 }} {{ BeanManagerImpl.getBeans(Type, Annotation...) line: 615 }} {{ InjectableBeanManager.getBeans(Type, Annotation...) line: 131 }} {{ ManagedArtifactResolver.getContextualReference(BeanManager, Class<T>) line: 68 }} {{ ManagedArtifactResolver.resolveManagedConverter(Class<Converter>) line: 53 }} {{ InjectionAwareApplicationWrapper.managedOrDefaultConverter(Converter) line: 80 }} {{ InjectionAwareApplicationWrapper.createConverter(String) line: 66 }} > Empty resolvedComponents not cached in InjectionResolver > -------------------------------------------------------- > > Key: OWB-1381 > URL: https://issues.apache.org/jira/browse/OWB-1381 > Project: OpenWebBeans > Issue Type: Improvement > Components: Injection and Lookup > Affects Versions: 2.0.21 > Reporter: Vladimir Dvorak > Priority: Minor > > 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... > -- This message was sent by Atlassian Jira (v8.3.4#803005)