You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2014/05/02 19:55:19 UTC

[jira] [Created] (UIMA-3798) JCasHashMap race condition hang

Marshall Schor created UIMA-3798:
------------------------------------

             Summary: JCasHashMap race condition hang
                 Key: UIMA-3798
                 URL: https://issues.apache.org/jira/browse/UIMA-3798
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.6.0SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.6.0SDK


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)