You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org> on 2006/09/21 15:05:23 UTC
[jira] Created: (HARMONY-1527) [DRLVM] JVMTI watched fields
callbacks is called from jit with direct pointers arguments.
[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
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
[jira] Assigned: (HARMONY-1527) [DRLVM] JVMTI watched fields
callbacks is called from jit with direct pointers arguments.
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1527?page=all ]
Geir Magnusson Jr reassigned HARMONY-1527:
------------------------------------------
Assignee: Geir Magnusson Jr
> [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
[jira] Closed: (HARMONY-1527) [DRLVM] JVMTI watched fields
callbacks is called from jit with direct pointers arguments.
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1527?page=all ]
Geir Magnusson Jr closed HARMONY-1527.
--------------------------------------
> [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
[jira] Updated: (HARMONY-1527) [DRLVM] JVMTI watched fields
callbacks is called from jit with direct pointers arguments.
Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (HARMONY-1527) [DRLVM] JVMTI watched fields
callbacks is called from jit with direct pointers arguments.
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ 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