harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5033) [drlvm][jvmti] FieldModificationEvent should support compressed references on x86_64
Date Wed, 14 Nov 2007 20:27:43 GMT

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

Ilya Berezhniuk updated HARMONY-5033:
-------------------------------------

    Attachment: H-5033.patch

With HARMONY-5035 fixed, the simple test and JDWP tests do not crash.

I've tried simple test, and got the following result when Java code sets 'null' object value:
1) for uncompressed mode object pointer is NULL;
2) for compressed mode FieldModification callback reports non-null jobject pointing to managed_null
(i.e. start address of Java heap). RE reports null jobject in this case.

Suggested patch fixes this problem.


> [drlvm][jvmti] FieldModificationEvent should support compressed references on x86_64
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5033
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5033
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/Windows x86_64
>            Reporter: Gregory Shimansky
>         Attachments: buildrun.bat, buildrun.sh, H-5033.patch, test.cpp, Test.java
>
>
> In the jvmti_field_modification_callback argument p_new_value contains an uncompressed
reference from JIT stack. It has to be compressed in compressed mode to create an argument
for JVMTI callback. The following 2 tests crash currently:
> org.apache.harmony.jpda.tests.jdwp.Events.FieldModification002Test
> org.apache.harmony.jpda.tests.jdwp.Events.FieldModificationTest

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


Mime
View raw message