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-5030) UV3 Pear Support
Date Tue, 15 Nov 2016 22:48:58 GMT

     [ 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)

Mime
View raw message