HBASE-2517 Didn't adjust heapSize() in memstore with addition of 2 new references
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@964627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e880c1fe2c
commit
dac26ea612
|
@ -653,7 +653,7 @@ public class MemStore implements HeapSize {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final static long FIXED_OVERHEAD = ClassSize.align(
|
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 +
|
public final static long DEEP_OVERHEAD = ClassSize.align(FIXED_OVERHEAD +
|
||||||
ClassSize.REENTRANT_LOCK + ClassSize.ATOMIC_LONG +
|
ClassSize.REENTRANT_LOCK + ClassSize.ATOMIC_LONG +
|
||||||
|
|
Loading…
Reference in New Issue