You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Geir Magnusson Jr (JIRA)" <ji...@apache.org> on 2006/09/23 14:08:24 UTC
[jira] Resolved: (HARMONY-1527) [DRLVM] JVMTI watched fields
callbacks is called from jit with direct pointers arguments.
[ http://issues.apache.org/jira/browse/HARMONY-1527?page=all ]
Geir Magnusson Jr resolved HARMONY-1527.
----------------------------------------
Resolution: Fixed
r449221
Ubuntu 6 - smoke and c-unit
> [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
> Assigned To: Geir Magnusson Jr
> 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