You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/10/24 22:15:50 UTC
[jira] Commented: (HARMONY-5015) [drlvm][jvmti][x86_64] Functions
jvmtiGetLocalObject and jvmtiSetLocalObject have to handle compressed
references
[ https://issues.apache.org/jira/browse/HARMONY-5015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537405 ]
Gregory Shimansky commented on HARMONY-5015:
--------------------------------------------
BTW the same algorithm has to be implemented for FieldModification event in jvmti_watch.cpp. JIT passes jvalue pointer to the new value to the callback. In case of a reference, it has to be uncompressed.
> [drlvm][jvmti][x86_64] Functions jvmtiGetLocalObject and jvmtiSetLocalObject have to handle compressed references
> -----------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5015
> URL: https://issues.apache.org/jira/browse/HARMONY-5015
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Gregory Shimansky
> Priority: Minor
>
> Currently these two functions treat references as void* but this isn't true on x86_64 in compressed references mode (currently default). In this mode comparison with NULL has to be done with managed_null, and references have to be uncompressed when taken from JIT stack, compressed when put into JIT stack.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.