Marshall Schor created UIMA-4280:
------------------------------------
Summary: 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)