You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Li-Gang Wang (JIRA)" <ji...@apache.org> on 2008/08/13 04:25:44 UTC

[jira] Created: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

[drlvm][jni] JNI weak global reference support
----------------------------------------------

                 Key: HARMONY-5946
                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
         Environment: Windows 32/64, Linux 32/64
            Reporter: Li-Gang Wang


The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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


[jira] Updated: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-5946:
----------------------------------

    Attachment: 02_jni_weakref.patch

02_jni_weakref.patch is an update version, which fixed a compiling error on Linux. Please use this one.

> [drlvm][jni] JNI weak global reference support
> ----------------------------------------------
>
>                 Key: HARMONY-5946
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows 32/64, Linux 32/64
>            Reporter: Li-Gang Wang
>            Assignee: Chunrong Lai
>         Attachments: 01_jni_weakref.patch, 01_TestJNIWeakRef.zip, 02_jni_weakref.patch
>
>
> The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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


[jira] Commented: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629057#action_12629057 ] 

Chunrong Lai commented on HARMONY-5946:
---------------------------------------


 Committed in r692136. Please verify it.

> [drlvm][jni] JNI weak global reference support
> ----------------------------------------------
>
>                 Key: HARMONY-5946
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows 32/64, Linux 32/64
>            Reporter: Li-Gang Wang
>            Assignee: Chunrong Lai
>         Attachments: 01_jni_weakref.patch, 01_TestJNIWeakRef.zip, 02_jni_weakref.patch
>
>
> The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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


[jira] Updated: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-5946:
----------------------------------

    Attachment: 01_jni_weakref.patch

Provides support for JNI weak global reference.

> [drlvm][jni] JNI weak global reference support
> ----------------------------------------------
>
>                 Key: HARMONY-5946
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows 32/64, Linux 32/64
>            Reporter: Li-Gang Wang
>         Attachments: 01_jni_weakref.patch
>
>
> The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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


[jira] Assigned: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chunrong Lai reassigned HARMONY-5946:
-------------------------------------

    Assignee: Chunrong Lai

> [drlvm][jni] JNI weak global reference support
> ----------------------------------------------
>
>                 Key: HARMONY-5946
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows 32/64, Linux 32/64
>            Reporter: Li-Gang Wang
>            Assignee: Chunrong Lai
>         Attachments: 01_jni_weakref.patch, 01_TestJNIWeakRef.zip
>
>
> The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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


[jira] Closed: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chunrong Lai closed HARMONY-5946.
---------------------------------

    Resolution: Fixed


Patch applied as expected. No regression is observed. Thanks!

> [drlvm][jni] JNI weak global reference support
> ----------------------------------------------
>
>                 Key: HARMONY-5946
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows 32/64, Linux 32/64
>            Reporter: Li-Gang Wang
>            Assignee: Chunrong Lai
>         Attachments: 01_jni_weakref.patch, 01_TestJNIWeakRef.zip, 02_jni_weakref.patch
>
>
> The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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


[jira] Updated: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-5946:
----------------------------------

    Attachment: 01_TestJNIWeakRef.zip

A simple test case.

> [drlvm][jni] JNI weak global reference support
> ----------------------------------------------
>
>                 Key: HARMONY-5946
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows 32/64, Linux 32/64
>            Reporter: Li-Gang Wang
>         Attachments: 01_jni_weakref.patch, 01_TestJNIWeakRef.zip
>
>
> The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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


[jira] Commented: (HARMONY-5946) [drlvm][jni] JNI weak global reference support

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629058#action_12629058 ] 

Li-Gang Wang commented on HARMONY-5946:
---------------------------------------

Chunrong, thanks for your help.

> [drlvm][jni] JNI weak global reference support
> ----------------------------------------------
>
>                 Key: HARMONY-5946
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5946
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows 32/64, Linux 32/64
>            Reporter: Li-Gang Wang
>            Assignee: Chunrong Lai
>         Attachments: 01_jni_weakref.patch, 01_TestJNIWeakRef.zip, 02_jni_weakref.patch
>
>
> The existing version of VM deals with JNI weak global reference as normal JNI global reference. 01_jni_weakref.patch provides the support for JNI weak global reference as JNI specification described. I didn't see any test case in DRLVM for it, so I wrote a simple one, 01_TestJNIWeakRef.zip. More test cases are welcome.

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