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: [email protected]
For additional commands, e-mail: [email protected]