[ https://issues.apache.org/jira/browse/KAFKA-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15124537#comment-15124537 ]
Jay Kreps commented on KAFKA-3174: ---------------------------------- This is a great find. It looks like it did become an intrinsic in 1.8 https://bugs.openjdk.java.net/browse/JDK-8131048 We can either remove it now since we recommend 1.8, though this will appear as a perf regression on 1.7, or we can wait a little, or we can try to do something dynamic where we check the java version and jvm type and make a decision. > Re-evaluate the CRC32 class performance. > ---------------------------------------- > > Key: KAFKA-3174 > URL: https://issues.apache.org/jira/browse/KAFKA-3174 > Project: Kafka > Issue Type: Improvement > Affects Versions: 0.9.0.0 > Reporter: Jiangjie Qin > Fix For: 0.9.0.1 > > > We org.apache.kafka.common.utils.CRC32 because it has better performance than > java.util.zip.CRC32 in Java 1.6. > In a recent test I ran it looks in Java 1.8 the CRC32 class is 2x as fast as > the Crc32 class we are using now. We may want to re-evaluate the performance > of Crc32 class and see it makes sense to simply use java CRC32 instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)