Eddie Epstein created UIMA-2712:
-----------------------------------

             Summary: TypsSystemImpl:getNumberOfTypes() causes deadlocks in 
multithreaded applications
                 Key: UIMA-2712
                 URL: https://issues.apache.org/jira/browse/UIMA-2712
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Eddie Epstein
            Assignee: Eddie Epstein


typeNameST.size() uses Vector as an underlying implementation. Vector is 
synchronized and we observe deadlocks associated with this code. Caching the 
value when the Type system is committed fixes the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to