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-5015) [drlvm][jvmti][x86_64] Functions jvmtiGetLocalObject and jvmtiSetLocalObject have to handle compressed references
Date Thu, 25 Oct 2007 23:06:50 GMT

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

Ilya Berezhniuk updated HARMONY-5015:
-------------------------------------

    Attachment: Test.java
                Test.exp

I've created JVMTI test to check JIT behavior regarding local vars.
The test is in attachment.

The test shows following details:
1) JIT stores local variables of reference type as uncompressed references, even in compressed
mode
2) In compressed mode JIT returns heap_base (managed_null) for null references

So JVMTI should check managed_null value instead of NULL when in compressed mode.
JIT function rt_get_local_var() should be corrected to operate with 64-bit values on x86_64.

I'm going to provide a patch for this soon.

> [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
>         Attachments: Test.exp, Test.java
>
>
> 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.


Mime
View raw message