harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-5386) [drlvm][verifier] Unaligned access to memory on IPF
Date Wed, 16 Jan 2008 18:36:34 GMT

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

Mikhail Loenko reassigned HARMONY-5386:
---------------------------------------

    Assignee: Mikhail Loenko

> [drlvm][verifier] Unaligned access to memory on IPF
> ---------------------------------------------------
>
>                 Key: HARMONY-5386
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5386
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux IPF
>            Reporter: Gregory Shimansky
>            Assignee: Mikhail Loenko
>            Priority: Minor
>
> When running DRLVM on IPF it gives errors about unaligned access to the memory. The access
happens in verifier in instr_props.h:287 when accessing propHashTable pointer. It happens
to be aligned to 4 bytes, not to 8 as required for an array of pointers.
> It happens because verifier's internal allocator doesn't align returned pointers to any
value. The sequence of allocations looks like this: 1024 bytes, 4 bytes, 128 bytes. The 3rd
allocation is not aligned because it goes after an allocation of 4 bytes. This is exactly
the place where propHashTable is allocated in the code.
> To make code work correctly on IPF it is either necessary to change verifier's internal
allocator to make it possible to align returned pointers or it is necessary to align pointers
returned by allocator in each case individually.

-- 
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