hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r1100308 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/MemStore.java
Date Fri, 06 May 2011 18:12:22 GMT
Author: apurtell
Date: Fri May  6 18:12:22 2011
New Revision: 1100308

URL: http://svn.apache.org/viewvc?rev=1100308&view=rev
Log:
HBASE-3855 Performance degradation of memstore because reseek is linear; fix TestHeapSize

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=1100308&r1=1100307&r2=1100308&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 Fri May 
6 18:12:22 2011
@@ -823,7 +823,7 @@ public class MemStore implements HeapSiz
   }
 
   public final static long FIXED_OVERHEAD = ClassSize.align(
-      ClassSize.OBJECT + (11 * ClassSize.REFERENCE));
+      ClassSize.OBJECT + (12 * ClassSize.REFERENCE));
 
   public final static long DEEP_OVERHEAD = ClassSize.align(FIXED_OVERHEAD +
       ClassSize.REENTRANT_LOCK + ClassSize.ATOMIC_LONG +



Mime
View raw message