[
https://issues.apache.org/jira/browse/CASSANDRA-11422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
T Jake Luciani updated CASSANDRA-11422:
---------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Resolved in CASSANDRA-11428
> Eliminate temporary object[] allocations in ColumnDefinition::hashCode
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-11422
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11422
> Project: Cassandra
> Issue Type: Sub-task
> Components: Core
> Reporter: Nitsan Wakart
> Assignee: Nitsan Wakart
>
> ColumnDefinition::hashCode currently calls Objects.hashCode(Object...)
> This triggers the allocation of a short lived Object[] which is not
> eliminated by EscapeAnalysis. I have implemented a fix by inlining the
> hashcode logic and also added a caching hashcode field. This improved
> performance on the read workload.
> Fix is available here:
> https://github.com/nitsanw/cassandra/tree/objects-hashcode-fix
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)