[
https://issues.apache.org/jira/browse/CASSANDRA-21394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francisco Guerrero updated CASSANDRA-21394:
-------------------------------------------
Test and Documentation Plan: Covered by existing tests
Status: Patch Available (was: In Progress)
PR https://github.com/apache/cassandra/pull/4832
> Avoid using ObjectUtils.getFirstNonNull in Schema
> -------------------------------------------------
>
> Key: CASSANDRA-21394
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21394
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Local/Other
> Reporter: Francisco Guerrero
> Assignee: Francisco Guerrero
> Priority: Normal
>
> 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]