[
https://issues.apache.org/jira/browse/CASSANDRA-15391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Blake Eggleston updated CASSANDRA-15391:
----------------------------------------
Resolution: Won't Fix
Status: Resolved (was: Open)
Closing as won't fix due to effort involved in fixing/quantifying megamorphic
concerns relative to improvement for 4.0
> 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, 4.0-triage
>
>
> 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]