Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
3.0.0-alpha1
-
None
-
-
Support NativeCrc32 verification for byte[] array backed buffers
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-10838 Byte array native checksumming
- Closed
- is related to
-
HADOOP-9934 the generic (non x86) libhadoop CRC code makes unaligned loads and stores
- Open
-
HBASE-8323 Low hanging checksum improvements
- Closed
- is superceded by
-
HADOOP-10838 Byte array native checksumming
- Closed