cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Scott Andreas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8362) Reduce memory usage of RefCountedMemory
Date Mon, 19 Nov 2018 05:57:01 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

C. Scott Andreas updated CASSANDRA-8362:
----------------------------------------
    Component/s: Core

> Reduce memory usage of RefCountedMemory
> ---------------------------------------
>
>                 Key: CASSANDRA-8362
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8362
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Vijay
>            Assignee: Vijay
>            Priority: Minor
>
> We can store the references as the first 4 bytes of the Unsafe memory and use case CAS[1]
for reference counting of the memory.
> This change will reduce the object over head + additional 4 bytes from java heap. Calling
methods can reference as long's.
> [1] http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/concurrent/atomic/AtomicInteger.java#AtomicInteger.incrementAndGet%28%29



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message