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] [Updated] (UIMA-4382) better multi-thread testing
Date Fri, 08 May 2015 14:06:59 GMT

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

Marshall Schor updated UIMA-4382:
    Fix Version/s: 2.7.1SDK

> 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
>             Fix For: 2.7.1SDK
> 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