cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kesselman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2521) Move away from Phantom References for Compaction/Memtable
Date Thu, 16 Jun 2011 03:51:47 GMT

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

Jeff Kesselman commented on CASSANDRA-2521:
-------------------------------------------

It should also be noted that any object with either a finalizer or a phantom reference to
it cannot be cleaned up in the eden by the hotspot generational collector and is forced to
proceed to the next generation where gc is significantly more expensive.  Whether this has
any real effect on your gc times depends on the lifetime of the object in question.  Creating
a lot of short lived objects with finalizers or phantom references is bad.  Creating middle
to long lived objects with finalizers or phantom references is less of a  problem.

> Move away from Phantom References for Compaction/Memtable
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-2521
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2521
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Chris Goffinet
>            Assignee: Sylvain Lebresne
>             Fix For: 1.0
>
>
> http://wiki.apache.org/cassandra/MemtableSSTable
> Let's move to using reference counting instead of relying on GC to be called in StorageService.

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

        

Mime
View raw message