[ 
https://issues.apache.org/jira/browse/CODEC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287389#comment-16287389
 ] 

Dmitry Chuyko commented on CODEC-171:
-------------------------------------

Yes, since Java 9 CRC32C is also available in core class library just like 
CRC32. Both are backed by platform specific intrinsics that even have different 
implementations depending on hardware capabilities and flags. Moreover, Hotspot 
intrinsics are used from the start, i.e. for calls from interpreter and C1.

There's no need to make multi-release JAR as Checksum instance can be 
constructed dynamically based on version information in runtime:
https://issues.apache.org/jira/browse/HADOOP-15033

For ARM64 current JDK implementation can even sometimes perform 1.5x better 
than the one in jni native library:
https://issues.apache.org/jira/browse/HADOOP-15033?focusedCommentId=16256722&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16256722

> Add support for CRC32-C
> -----------------------
>
>                 Key: CODEC-171
>                 URL: https://issues.apache.org/jira/browse/CODEC-171
>             Project: Commons Codec
>          Issue Type: Improvement
>            Reporter: Brett Okken
>             Fix For: 1.11
>
>
> Add a java CRC32-C java.util.zip.Checksum implementation.
> There is a PureJavaCrc32C implementation that is part of 
> apache-hadoop-common. It would be great to have that more easily consummable 
> with far fewer transitive dependencies.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to