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)" <ui...@incubator.apache.org> on 2007/06/23 20:02:26 UTC

[jira] Created: (UIMA-468) race condition in JCasImpl initializing static array

race condition in JCasImpl  initializing static array
-----------------------------------------------------

                 Key: UIMA-468
                 URL: https://issues.apache.org/jira/browse/UIMA-468
             Project: UIMA
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.2


Static variables holding arrays are initialized by seeing if their size is 0 when making a new instance of JCasImpl.  If 2 threads do this at the same time, a race condition could happen.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (UIMA-468) race condition in JCasImpl initializing static array

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-468.
-------------------------------

    Resolution: Fixed

> race condition in JCasImpl  initializing static array
> -----------------------------------------------------
>
>                 Key: UIMA-468
>                 URL: https://issues.apache.org/jira/browse/UIMA-468
>             Project: UIMA
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 2.2
>
>
> Static variables holding arrays are initialized by seeing if their size is 0 when making a new instance of JCasImpl.  If 2 threads do this at the same time, a race condition could happen.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.