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/01/13 23:21:34 UTC

[jira] [Resolved] (UIMA-4179) reduce java object creation around Sofa info

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

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

> reduce java object creation around Sofa info
> --------------------------------------------
>
>                 Key: UIMA-4179
>                 URL: https://issues.apache.org/jira/browse/UIMA-4179
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Trivial
>             Fix For: 2.7.0SDK
>
>
> In many places, the sofa is obtained, and then some value of that is obtained.  Each time this is done, unless low level APIs are used, a Java cover object (either the JCas Sofa, or the non-JCas Java cover object) is created (or looked up and fetched from a cache if the JCas cache is in use).  This is unneeded; switch these to using the low level APIs unless there's a good reason to create the Java cover object.



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