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

[perf] [concurrency] improve concurrency in resource dependency processing

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: