Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4263

thread safety problem in uimaj-core code causing occasional hang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0SDK
    • Core Java Framework
    • None

    Description

      The class AnalysisEngineManagementImpl (which implements JMX instrumentation) uses a static set to remember what names have been used for "root" MBeans. Access to this set is not synchronized, so it's possible for two threads to try and simultaneously update this set. Check for other static sets/maps with this problem, too. Either convert this to a synchronized access, or use one of the concurrent maps/sets.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: