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

Francisco Guerrero updated CASSANDRA-21394:
-------------------------------------------
          Fix Version/s: 7.0
    Source Control Link: 
https://github.com/apache/cassandra/commit/f77189325bb15bf12ec6acfaeac44301989c7861
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> 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
>             Fix For: 7.0
>
>         Attachments: CASSANDRA-21394_ci_summary.html
>
>
> 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]

Reply via email to