[jira] [Created] (UIMA-4701) Creating CASs with common CAS Definition should share type systems
Marshall Schor (JIRA <dev@...
2015-12-01 16:55:10 GMT
Marshall Schor created UIMA-4701:
Summary: Creating CASs with common CAS Definition should share type systems
Issue Type: Improvement
Components: Core Java Framework
Reporter: Marshall Schor
Assignee: Marshall Schor
Fix For: 3.0.0SDKexp
Cas Definitions can be captured in the class CasDefinition and passed to the CasCreationUtils createCas
methods. This is done, for instance, when CAS Pools are created.
The processing currently holds the definitions as description-objects, and re-parses these into type
system implementations, every time a cas is produced. These multiple type systems are identical, but
replicated, which is wasteful.
Change the definition of CasDefinition to permit it to hold the derived TypeSystemImpl object, and change
createCas to use that if available, to share common TypeSystemImplementations.
Other approaches that result in even more instances of type system sharing might be considered, but it's
possible that different instances may be wanted in some cases in the future (for example, if we allow
dynamic augmentation of types / features while running).
This message was sent by Atlassian JIRA