uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-4263) thread safety problem in uimaj-core code causing occasional hang
Date Mon, 09 Mar 2015 21:54:40 GMT

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

Marshall Schor resolved UIMA-4263.
----------------------------------
    Resolution: Fixed

fixed in revision 1665331

> thread safety problem in uimaj-core code causing occasional hang
> ----------------------------------------------------------------
>
>                 Key: UIMA-4263
>                 URL: https://issues.apache.org/jira/browse/UIMA-4263
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.7.1SDK
>
>
> The class AnalysisEngineManagementImpl (which implements JMX instrumentation) uses a
static set to remember what names have been used for "root" MBeans.  Access to this set is
not synchronized, so it's possible for two threads to try and simultaneously update this set.
  Check for other static sets/maps with this problem, too.  Either convert this to a synchronized
access, or use one of the concurrent maps/sets.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message