[
https://issues.apache.org/jira/browse/UIMA-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538834
]
Marshall Schor commented on UIMA-607:
-------------------------------------
Here's what I'm thinking: Have a static "weak" hashmap, where the key is the
classpath / data path, and the value is a resourcemanager that the wrapper
created for the classpath / datapath. The logic would be - given a new
classpath/datapath, if the resourcemanager existed, then use it.
Key would be that a resource manager instance was "thread safe" - in that it
could be accessed by multiple threads. Is this the case?
Also, can a resource manager instance be shared among different pipelines?
> Running PEAR class path switching code broken in multi-threading case (CPM)
> ---------------------------------------------------------------------------
>
> Key: UIMA-607
> URL: https://issues.apache.org/jira/browse/UIMA-607
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.2
> Reporter: Marshall Schor
> Assignee: Marshall Schor
>
> The new facility in 2.2 to run a Pear, switching class paths, has threading
> issues when run from a CPM in multiple threads. Needs a code review and
> fixes for case where CAS Pools are sharing one type system with all the CASes
> in the pool.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.