Nitsan Wakart created CASSANDRA-11422:
-----------------------------------------

             Summary: Eliminate temporary object[] allocations in 
ColumnDefinition::hashCode
                 Key: CASSANDRA-11422
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11422
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: 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)

Reply via email to