You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Regis Xu (JIRA)" <ji...@apache.org> on 2009/09/21 09:42:16 UTC

[jira] Closed: (HARMONY-6257) [classlib][luni] - Optimize OSMemory.get/setByteArray

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

Regis Xu closed HARMONY-6257.
-----------------------------


> [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
>            Assignee: Regis Xu
>             Fix For: 5.0M12
>
>         Attachments: HARMONY-6257.diff, HARMONY-6257.v2.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.