Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15892

Improve performance of document adapter lookup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0-HF26, 6.0-HF01, 7.1
    • Component/s: Runtime

      Description

      There is currently a contention on a synchronized method:

              at org.nuxeo.runtime.model.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:105)
              - waiting to lock <0x00000007008ba148> (a org.nuxeo.runtime.model.impl.ComponentManagerImpl)
              at org.nuxeo.runtime.AbstractRuntimeService.getComponentInstance(AbstractRuntimeService.java:247)
              at org.nuxeo.runtime.AbstractRuntimeService.getComponent(AbstractRuntimeService.java:236)
              at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.findAdapter(DocumentModelImpl.java:985)
              at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getAdapter(DocumentModelImpl.java:947)
      

      And in a hashtable access:

         java.lang.Thread.State: BLOCKED (on object monitor)
      	at java.util.Hashtable.get(Hashtable.java:433)
      	- waiting to lock <0x0000000701dba498> (a java.util.Hashtable)
      	at org.nuxeo.ecm.core.api.adapter.DocumentAdapterService.getAdapterDescriptor(DocumentAdapterService.java:44)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.findAdapter(DocumentModelImpl.java:987)
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getAdapter(DocumentModelImpl.java:947)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: