uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-4382) better multi-thread testing
Date Wed, 06 May 2015 17:55:00 GMT
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

View raw message