cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yang Yang (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-3279) System.gc() useless after the move to reference-counting based compaction??
Date Thu, 29 Sep 2011 18:59:45 GMT

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

Yang Yang resolved CASSANDRA-3279.
----------------------------------

    Resolution: Invalid
      Assignee: Yang Yang
    
> System.gc() useless after the move to reference-counting based compaction??
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3279
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3279
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Yang Yang
>            Assignee: Yang Yang
>
> this:
> https://github.com/apache/cassandra/commit/f30ca092fc96ea0e50d0a3301bd2e848c143ca5b#diff-4
> adds an explicit System.gc() 
> to "force unmap of compacted SSTables so they can be deleted".
> according to my limited understanding of the old sstable compaction code, it was somehow
related to the usage of weak references.
> now that we don't use weak/phantom references , should this be removed ?? 
> ---- although the original JIRA made efforts to reduce the frequency this is called,
I still do see some of it, and the result is quite serious (14 seconds pause)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message