Francisco Guerrero created CASSANDRA-21394:
----------------------------------------------
Summary: Avoid using ObjectUtils.getFirstNonNull in Schema
Key: CASSANDRA-21394
URL: https://issues.apache.org/jira/browse/CASSANDRA-21394
Project: Apache Cassandra
Issue Type: Improvement
Reporter: Francisco Guerrero
While profiling a workload, I noticed there is significant allocation from
““ObjectUtils.getFirstNonNull}} in the {{org.apache.cassandra.schema.Schema}}
schema class. This is more prevalent in the 5.0 branch of Cassandra where it's
being used in the getTableMetadata method, which is in the hot path. We should
avoid allocations in the hot path whenever possible, and this is LHF candidate
for reducing allocations
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]