cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6278) Use AtomicIntegerFieldUpdater to save memory in row cache
Date Thu, 31 Oct 2013 16:05:20 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810380#comment-13810380
] 

Jonathan Ellis commented on CASSANDRA-6278:
-------------------------------------------

Might be nice for WriteResponseHandler and ReadCallback too

> Use AtomicIntegerFieldUpdater to save memory in row cache
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-6278
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6278
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Trivial
>             Fix For: 2.1
>
>         Attachments: 0001-Use-AtomicIntegerFieldUpdater-to-save-memory-in-row-.patch
>
>
> from this:
> http://normanmaurer.me/blog/2013/10/28/Lesser-known-concurrent-classes-Part-1/
> instead of having an AtomicInteger, we can keep a volatile int and use AtomicIntegerFieldUpdater
to atomically update the value



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message