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

JCasHashMap race condition hang

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0SDK
    • 2.6.0SDK
    • Core Java Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: