[perf] [concurrency] improve concurrency in resource dependency processing
--------------------------------------------------------------------------
Key: MYFACES-3263
URL: https://issues.apache.org/jira/browse/MYFACES-3263
Project: MyFaces Core
Issue Type: Improvement
Reporter: Martin Kočí
Assignee: Martin Kočí
Priority: Minor
1) <BLOCKED> java.util.Collections$SynchronizedMap.containsKey(Object)
java.lang.reflect.Proxy.isProxyClass(Class)
sun.reflect.annotation.AnnotationInvocationHandler.asOneOfUs(Object)
sun.reflect.annotation.AnnotationInvocationHandler.equalsImpl(Object)
sun.reflect.annotation.AnnotationInvocationHandler.invoke(Object,
Method, Object[])
$Proxy272.equals(Object)
java.util.HashMap.getEntry(Object)
java.util.HashMap.containsKey(Object)
o.a.m.context.RequestViewContext.isResourceDependencyAlreadyProcessed(ResourceDependency)
2) <BLOCKED> java.lang.Class.initAnnotationsIfNecessary()
java.lang.Class.getAnnotation(Class)
org.apache.myfaces.application.ApplicationImpl._handleAttachedResourceDependencyAnnotations(FacesContext,
Object)
ad 1) consider IdentityHashMap - (how is specified equals() for annotation ?)
ad2) ApplicationImpl has _classToResourceDependencyMap already - use it?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira