cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject svn commit: r1151753 - /cassandra/trunk/src/java/org/apache/cassandra/cache/FreeableMemory.java
Date Thu, 28 Jul 2011 07:24:23 GMT
Author: slebresne
Date: Thu Jul 28 07:24:22 2011
New Revision: 1151753

URL: http://svn.apache.org/viewvc?rev=1151753&view=rev
Log:
Fix assert

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/cache/FreeableMemory.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/cache/FreeableMemory.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/cache/FreeableMemory.java?rev=1151753&r1=1151752&r2=1151753&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/cache/FreeableMemory.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/cache/FreeableMemory.java Thu Jul 28 07:24:22
2011
@@ -67,7 +67,7 @@ public class FreeableMemory extends Memo
     @Override
     protected void finalize()
     {
-        assert references.get() == 0;
+        assert references.get() <= 0;
         assert peer == 0;
     }
     



Mime
View raw message