harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5725) [drlvm][jit][opt][performance] Implement org.apache.harmony.misc.accessors.ObjectAccessor on magics
Date Wed, 16 Apr 2008 12:21:21 GMT

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

Aleksey Shipilev updated HARMONY-5725:
--------------------------------------

    Attachment: vm-accessors-magic-draft-2.patch

vm-accessors-magic-draft-2.patch
Draft implementation on LIR API magics.

The idea there is:
 1. Take the jFieldID from argument
 2. Since jFieldID is Field_Handle we can compute the offset of "_offset" there
 3. Knowing the field _offset in object, we can access the object field

e.g.

 fieldOffsetInObj <- [jFieldID + "_offset displacement"]
 fieldValue <- [obj + fieldOffsetInObj]

> [drlvm][jit][opt][performance] Implement org.apache.harmony.misc.accessors.ObjectAccessor
on magics
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5725
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5725
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Aleksey Shipilev
>            Assignee: Mikhail Fursov
>         Attachments: vm-accessors-magic-draft-2.patch, vm-accessors-magic-draft.patch
>
>
> Classlib has the API for quick accessing to fields. Since serialization performance will
depend on such the accessors, the idea is to implement such the accessors on magics. Slowpath
is already in classlib, uses JNI to access fields, so implementation on magics will eliminate
JNI transition overhead and native-side computations.

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