zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-3685) Use JDK Arrays Equals for Jute
Date Thu, 09 Jan 2020 23:08:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ASF GitHub Bot updated ZOOKEEPER-3685:
--------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Minor
>              Labels: pull-request-available
>
> 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)

Mime
View raw message