harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6257) [classlib][luni] - Optimize OSMemory.get/setByteArray
Date Tue, 07 Jul 2009 03:38:14 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727896#action_12727896
] 

Regis Xu commented on HARMONY-6257:
-----------------------------------

Interesting. From web page of vmmagic, it says "These extensions require direct support from
the JIT compiler (or interpreter) of the JVM. ",  but not mention what API it used. Does drlvm
or IBM VME support it?

> [classlib][luni] - Optimize OSMemory.get/setByteArray
> -----------------------------------------------------
>
>                 Key: HARMONY-6257
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6257
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M10
>            Reporter: Regis Xu
>         Attachments: HARMONY-6257.diff
>
>
> in getByteArray, use SetByteArrayRegion to avoid memory copy from java to native
> in setByteArray, Get/ReleasePrimitiveArrayCritical instead of GetByteArrayElements/ReleaseByteArrayElements
to avoid memory copy.

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