You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2015/02/25 22:47:04 UTC
[jira] [Created] (UIMA-4263) thread safety problem in uimaj-core
code causing occasional hang
Marshall Schor created UIMA-4263:
------------------------------------
Summary: 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
Affects Versions: 2.7.0SDK
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)