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] Updated: (HARMONY-6257) [classlib][luni] - Optimize OSMemory.get/setByteArray
Date Tue, 14 Jul 2009 06:43:15 GMT

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

Regis Xu updated HARMONY-6257:
------------------------------

    Attachment: HARMONY-6257.v2.diff

call ReleasePrimitiveArrayCritical anyway.

> [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, 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.


Mime
View raw message