MyFaces Core
  1. MyFaces Core
  2. MYFACES-3263

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • 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?

        Activity

        There are no comments yet 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:

              Development