[
https://issues.apache.org/jira/browse/CASSANDRA-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092574#comment-13092574
]
Yang Yang edited comment on CASSANDRA-2252 at 8/29/11 12:17 AM:
----------------------------------------------------------------
hi Jonathan:
I checked the counters code, they currently use HeapAllocator . what is the
reason we don't yet use SlabAllocator for Counters?
Thanks
also I put the idea to use 2 SlabAllocators (one for those buffers with long
life, one for those short-lived) in
https://github.com/yangyangyyy/cassandra/commit/bc017835c64240e58c0c51b2d5f8793f3c7f3a76
https://github.com/yangyangyyy/cassandra/commit/8431ca1b9586086073e6b81d346a06e8172a97e7
maybe it is useful
was (Author: yangyangyyy):
hi Jonathan:
I checked the counters code, they currently use HeapAllocator . what is the
reason we don't yet use SlabAllocator for Counters?
Thanks
also I put the idea to use 2 SlabAllocators (one for those buffers with long
life, one for those short-lived) in
https://github.com/yangyangyyy/cassandra/commit/bc017835c64240e58c0c51b2d5f8793f3c7f3a76
maybe it is useful
> arena allocation for memtables
> ------------------------------
>
> Key: CASSANDRA-2252
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2252
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Fix For: 1.0
>
> Attachments: 0001-add-MemtableAllocator.txt,
> 0002-add-off-heap-MemtableAllocator-support.txt, 2252-v3.txt, 2252-v4.txt,
> merged-2252.tgz
>
>
> The memtable design practically actively fights Java's GC design. Todd
> Lipcon gave a good explanation over on HBASE-3455.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira