You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yang Yang (Updated) (JIRA)" <ji...@apache.org> on 2011/09/29 20:56:45 UTC
[jira] [Updated] (CASSANDRA-3279) System.gc() useless after the
move to reference-counting based compaction??
[ https://issues.apache.org/jira/browse/CASSANDRA-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Yang updated CASSANDRA-3279:
---------------------------------
Priority: Major (was: Minor)
> 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
>
> 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