You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2008/06/05 18:05:45 UTC

[jira] Created: (UIMA-1063) Incorrect push/pop used in JNI code

Incorrect  push/pop used in JNI code 
-------------------------------------

                 Key: UIMA-1063
                 URL: https://issues.apache.org/jira/browse/UIMA-1063
             Project: UIMA
          Issue Type: Bug
          Components: C++ Framework
            Reporter: Eddie Epstein
            Assignee: Eddie Epstein
             Fix For: 2.2C


PushLocalFrame/PopLocalFrame are incorrectly used when transferring CAS data from the native environment to Java. These cause the newly created Java arrays to be marked for GC, which can (and sometimes does!) take place before the native routine has returned the reference to the new array to Java.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (UIMA-1063) Incorrect push/pop used in JNI code

Posted by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eddie Epstein closed UIMA-1063.
-------------------------------

    Resolution: Fixed

> Incorrect  push/pop used in JNI code 
> -------------------------------------
>
>                 Key: UIMA-1063
>                 URL: https://issues.apache.org/jira/browse/UIMA-1063
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>            Reporter: Eddie Epstein
>            Assignee: Eddie Epstein
>             Fix For: 2.2C
>
>
> PushLocalFrame/PopLocalFrame are incorrectly used when transferring CAS data from the native environment to Java. These cause the newly created Java arrays to be marked for GC, which can (and sometimes does!) take place before the native routine has returned the reference to the new array to Java.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.