uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie Epstein (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-2712) TypsSystemImpl:getNumberOfTypes() causes deadlocks in multithreaded applications
Date Mon, 04 Mar 2013 21:47:14 GMT

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

Eddie Epstein resolved UIMA-2712.
---------------------------------

    Resolution: Fixed
    
> 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

Mime
View raw message