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] [Resolved] (UIMA-4179) reduce java object creation around Sofa info
Date Tue, 13 Jan 2015 22:21:34 GMT

     [ 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

View raw message