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] [Created] (UIMA-4179) reduce java object creation around Sofa info
Date Tue, 13 Jan 2015 20:18:35 GMT
Marshall Schor created UIMA-4179:
------------------------------------

             Summary: 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)

Mime
View raw message