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/06 19:55:00 UTC

[jira] [Created] (UIMA-4382) better multi-thread testing

Marshall Schor created UIMA-4382:
------------------------------------

             Summary: better multi-thread testing
                 Key: UIMA-4382
                 URL: https://issues.apache.org/jira/browse/UIMA-4382
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor


Several tests exercise multi-threads by looping and creating threads and starting them. The problem with this is that creating and starting a thread takes more time than running whatever is being tested, so everything completes, but there's no real contention (because the 1st thread finishes before the 2nd starts, etc.).  Fix by using same technique as used in MultiThreadUtils



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