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/03/09 20:42:38 UTC
[jira] [Resolved] (UIMA-4280) testing utility MultiTrheadUtils not
getting intended parallelism
[ https://issues.apache.org/jira/browse/UIMA-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor resolved UIMA-4280.
----------------------------------
Resolution: Fixed
> testing utility MultiTrheadUtils not getting intended parallelism
> -----------------------------------------------------------------
>
> Key: UIMA-4280
> URL: https://issues.apache.org/jira/browse/UIMA-4280
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
> Fix For: 2.7.1SDK
>
>
> The MultiThreadUtils routine in the core UIMA testing code is intended to run multiple threads of tests in parallel. It was doing this by creating some number of threads, and starting them. The intent was that these threads run together, and experience some contention.
> When measured on a 2 GHz Intel i7 Windows machine, the time to start the thread seemed to be about 1 millisecond. Which meant that unless the test took longer than a millisecond, no contention would happen.
> Change this to have the threads all "started", but then wait for a "go" notification, given after all threads have completed their startup.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)