You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2013/05/26 19:46:20 UTC

[jira] [Created] (HADOOP-9601) Support native CRC on byte arrays

Todd Lipcon created HADOOP-9601:
-----------------------------------

             Summary: Support native CRC on byte arrays
                 Key: HADOOP-9601
                 URL: https://issues.apache.org/jira/browse/HADOOP-9601
             Project: Hadoop Common
          Issue Type: Improvement
          Components: performance, util
    Affects Versions: 3.0.0
            Reporter: Todd Lipcon


When we first implemented the Native CRC code, we only did so for direct byte buffers, because these correspond directly to native heap memory and thus make it easy to access via JNI. We'd generally assumed that accessing byte[] arrays from JNI was not efficient enough, but now that I know more about JNI I don't think that's true -- we just need to make sure that the critical sections where we lock the buffers are short.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira