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

Blake Eggleston updated CASSANDRA-15391:
----------------------------------------
    Reviewers: Benedict Elliott Smith

> Reduce heap footprint of commonly allocated objects
> ---------------------------------------------------
>
>                 Key: CASSANDRA-15391
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15391
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Local/Compaction
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>            Priority: Normal
>             Fix For: 4.0
>
>
> BufferCell, BTreeRow, and Clustering make up a significant amount of 
> allocations during reads/compactions, and many of the fields of these classes 
> are often unused. For example, the CellPath reference in BufferCell is only 
> every used for collection columns. Since we know which fields will and won’t 
> be used during cell creation, we can define specialized classes that only 
> take up heap space for the data they’ll be using. This reduces compaction 
> garbage by up to 4.5%.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to