You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2015/05/24 02:39:17 UTC
[jira] [Created] (UIMA-4427) Use iteratorWithSnapshot in the select
methods
Richard Eckart de Castilho created UIMA-4427:
------------------------------------------------
Summary: Use iteratorWithSnapshot in the select methods
Key: UIMA-4427
URL: https://issues.apache.org/jira/browse/UIMA-4427
Project: UIMA
Issue Type: Improvement
Components: uimaFIT
Reporter: Richard Eckart de Castilho
Assignee: Richard Eckart de Castilho
Fix For: 2.2.0uimaFIT
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)