use weak references to SlabAllocator regions
--------------------------------------------

                 Key: CASSANDRA-3162
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3162
             Project: Cassandra
          Issue Type: Improvement
    Affects Versions: 1.0
            Reporter: Jonathan Ellis
            Assignee: Jonathan Ellis
            Priority: Minor
             Fix For: 1.0


Yang points out on CASSANDRA-2252,

"Conceivably, one region would contain bytebuffer values of similar age. as 
more updates come in, all the columns in older regions are likely to have all 
died out, thus allowing us to free the entire region before flushing happens."

So it's a bit of a corner case optimization, but easy to do and safe.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to