Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4280

testing utility MultiTrheadUtils not getting intended parallelism

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0SDK
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: