harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene S. Ostrovsky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1527) [DRLVM] JVMTI watched fields callbacks is called from jit with direct pointers arguments.
Date Thu, 21 Sep 2006 13:11:24 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1527?page=all ]

Eugene S. Ostrovsky updated HARMONY-1527:

    Attachment: JVMTI-watched-fields-callbacks-is-called-from-jit-with-direct-pointers-arguments.patch

> [DRLVM] JVMTI watched fields callbacks is called from jit with direct pointers arguments.
> -----------------------------------------------------------------------------------------
>                 Key: HARMONY-1527
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1527
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Eugene S. Ostrovsky
>         Attachments: JVMTI-watched-fields-callbacks-is-called-from-jit-with-direct-pointers-arguments.patch
> By declaration jvmti_field_access_callback() & jvmti_field_modification_callback()
must recieve pointer to jobject (GC-safe object handle). But actually JIT transfers non GC-safe
direct pointers to managed objects. This results in crash on any attempt to use recieved object.
> Also JIT passes direct pointer instead of gc-safe handle in jvalue.l field of new_value
argument to jvmti_field_modification_callback().
> Proposed patch fixes callbacks interface and implementation according to actual data
type passed from JIT.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message