[ https://issues.apache.org/jira/browse/CASSANDRA-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061761#comment-13061761 ]
Jeff Kesselman commented on CASSANDRA-2521: ------------------------------------------- Just a note: while relying on phantom references or finalizer for your cleanup is incorrect, it is reasonable to use them to do a verification that your cleanup has occurred on those objects that do get collected. This is with the caveat however that PhantomReferences always add something to your gc costs so you might want to make it switchable. > 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 > Components: Core > Reporter: Chris Goffinet > Assignee: Sylvain Lebresne > Fix For: 1.0 > > Attachments: > 0001-Use-reference-counting-to-decide-when-a-sstable-can-.patch, > 0001-Use-reference-counting-to-decide-when-a-sstable-can-v2.patch, > 0002-Force-unmapping-files-before-deletion-v2.patch, 2521-v3.txt, 2521-v4.txt > > > 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