hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raw...@apache.org
Subject svn commit: r964627 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java
Date Thu, 15 Jul 2010 22:15:46 GMT
Author: rawson
Date: Thu Jul 15 22:15:46 2010
New Revision: 964627

URL: http://svn.apache.org/viewvc?rev=964627&view=rev
Log:
HBASE-2517  Didn't adjust heapSize() in memstore with addition of 2 new references

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java?rev=964627&r1=964626&r2=964627&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java Thu Jul 15
22:15:46 2010
@@ -653,7 +653,7 @@ public class MemStore implements HeapSiz
   }
 
   public final static long FIXED_OVERHEAD = ClassSize.align(
-      ClassSize.OBJECT + (7 * ClassSize.REFERENCE));
+      ClassSize.OBJECT + (9 * ClassSize.REFERENCE));
 
   public final static long DEEP_OVERHEAD = ClassSize.align(FIXED_OVERHEAD +
       ClassSize.REENTRANT_LOCK + ClassSize.ATOMIC_LONG +



Mime
View raw message