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

JCasHashMap race condition hang

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0SDK
    • Fix Version/s: 2.6.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      Jerry C discovered a hang failure - I was able to reproduce on a particular large machine. Traced to a race condition - where a "reserve" is found, and then a lock is acquired. There's a chance that between these 2 events, another thread can change the reserve to a real value - if this happens, a hang. Recheck the value after acquiring the lock.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: