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

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

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

> 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)

Mime
View raw message