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 2015/05/04 21:47:06 UTC

[jira] [Resolved] (UIMA-4342) Testing utility MultiThreadUtils has sync hole

     [ https://issues.apache.org/jira/browse/UIMA-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor resolved UIMA-4342.
----------------------------------
    Resolution: Fixed

> Testing utility MultiThreadUtils has sync hole
> ----------------------------------------------
>
>                 Key: UIMA-4342
>                 URL: https://issues.apache.org/jira/browse/UIMA-4342
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.7.0SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>
> I observed occasional failures of tests using the MultiThreadUtils driver.  This was traced to an impl which had two adjacent sync blocks, and the failure happened when another thread ran inbetween these, and changed a state variable.  Fix is to have just one sync block (combine the two).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)