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

Prevent contention in EventListenerList

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.2
    • Fix Version/s: 7.10-HF11, 8.3
    • Component/s: Events / Works

      Description

      EventListenerList.getEnabled*Descriptor methods are synchronized

      For instance:

      Java Monitor Blocked
       at org.nuxeo.ecm.core.event.impl.EventListenerList.getEnabledInlineListenersDescriptors()
       at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(Event)
       at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(String, DocumentModel, Map, String, String, boolean, boolean)
       at org.nuxeo.ecm.core.api.AbstractSession.notifyCheckedInVersion(DocumentModel, DocumentRef, Map, String)
       at org.nuxeo.ecm.core.api.AbstractSession.checkIn(DocumentRef, VersioningOption, String)
       at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.checkIn(VersioningOption, String)
      

      Investigation should be made to see if we can avoid the synchronized.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: