HBASE-4071 update FIXED_OVERHEAD for minVersions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1161262 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5cae3a6b66
commit
0c02bd374a
|
@ -1734,7 +1734,7 @@ public class Store implements HeapSize {
|
||||||
public static final long FIXED_OVERHEAD = ClassSize.align(
|
public static final long FIXED_OVERHEAD = ClassSize.align(
|
||||||
ClassSize.OBJECT + (15 * ClassSize.REFERENCE) +
|
ClassSize.OBJECT + (15 * ClassSize.REFERENCE) +
|
||||||
(8 * Bytes.SIZEOF_LONG) + (1 * Bytes.SIZEOF_DOUBLE) +
|
(8 * Bytes.SIZEOF_LONG) + (1 * Bytes.SIZEOF_DOUBLE) +
|
||||||
(4 * Bytes.SIZEOF_INT) + (3 * Bytes.SIZEOF_BOOLEAN));
|
(5 * Bytes.SIZEOF_INT) + (3 * Bytes.SIZEOF_BOOLEAN));
|
||||||
|
|
||||||
public static final long DEEP_OVERHEAD = ClassSize.align(FIXED_OVERHEAD +
|
public static final long DEEP_OVERHEAD = ClassSize.align(FIXED_OVERHEAD +
|
||||||
ClassSize.OBJECT + ClassSize.REENTRANT_LOCK +
|
ClassSize.OBJECT + ClassSize.REENTRANT_LOCK +
|
||||||
|
|
Loading…
Reference in New Issue