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 2016/11/15 22:48:58 UTC

[jira] [Resolved] (UIMA-5030) UV3 Pear Support

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

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

> UV3 Pear Support
> ----------------
>
>                 Key: UIMA-5030
>                 URL: https://issues.apache.org/jira/browse/UIMA-5030
>             Project: UIMA
>          Issue Type: Sub-task
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 3.0.0SDKexp
>
>
> Pear support for UV3 is based on the concept of a variant of main Java Feature Structure class, indicated by a bit in the _flags.  The variant used for Pears (called trampoline), when there is a different JCas cover class for a type (due to the PEAR having a different classpath for loading these), the variant instance is constructed like a normal one except for the flag setting and for not having its own int/Object arrays for features; instead it shares those with the base feature structure instance. 
> We use similar mechanisms as in V2 to manage this.  To locate the trampoline we use the same jcas hash map mechanism as in V2, and switch in and out various instances of those maps as pear boundaries are crossed (same as in V2).



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