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

Use iteratorWithSnapshot in the select methods

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0uimaFIT
    • Component/s: uimaFIT
    • Labels:
      None

      Description

      Since UIMA 2.7.0, there are "iterateWithSnapshot" methods that safeguard against modifying the indices while iterating over them. uimaFIT could avoid concurrency problems in client code by consistently using these new methods at the expense of some performances. I would expect though, that whoever wants to the the last piece of performance out of the code would not use the uimaFIT select methods anyway - they would try to optimize iteration order at all cost.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rec Richard Eckart de Castilho
                Reporter:
                rec Richard Eckart de Castilho
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: