David Mollitor created ZOOKEEPER-3685:
-----------------------------------------
Summary: Use JDK Arrays Equals for Jute
Key: ZOOKEEPER-3685
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3685
Project: ZooKeeper
Issue Type: Improvement
Reporter: David Mollitor
Assignee: David Mollitor
ZK Jute compiler uses its own byte Array equality check. JDK has one which is
marked with the {{HotSpotIntrinsicCandidate}} annotation. This means that the
JDK may have a native optimization for the routine.
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/util/Arrays.java#L2654
--
This message was sent by Atlassian Jira
(v8.3.4#803005)