You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Blake Eggleston (Jira)" <ji...@apache.org> on 2019/10/30 22:36:00 UTC

[jira] [Created] (CASSANDRA-15391) Reduce heap footprint of commonly allocated objects

Blake Eggleston created CASSANDRA-15391:
-------------------------------------------

             Summary: 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


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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org