HBASE-3855 Performance degradation of memstore because reseek is linear; fix TestHeapSize
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1100308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
93a75bb3eb
commit
6fb0428103
|
@ -823,7 +823,7 @@ public class MemStore implements HeapSize {
|
|||
}
|
||||
|
||||
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 +
|
||||
|
|
Loading…
Reference in New Issue