You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <de...@uima.apache.org> on 2013/03/12 22:21:14 UTC

[jira] [Reopened] (UIMA-2712) TypsSystemImpl:getNumberOfTypes() causes deadlocks in multithreaded applications

     [ https://issues.apache.org/jira/browse/UIMA-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein reopened UIMA-2712:
---------------------------------


After further investigation, same issue with getNumberOfFeatures()
                
> 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