HBASE-3900 Addendum, correct FIXED_OVERHEAD
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1162318 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
385c3e9b69
commit
a1ede0c560
@ -1765,7 +1765,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 + (16 * ClassSize.REFERENCE) +
|
||||||
(8 * Bytes.SIZEOF_LONG) + (1 * Bytes.SIZEOF_DOUBLE) +
|
(8 * Bytes.SIZEOF_LONG) + (1 * Bytes.SIZEOF_DOUBLE) +
|
||||||
(6 * Bytes.SIZEOF_INT) + (3 * Bytes.SIZEOF_BOOLEAN));
|
(6 * Bytes.SIZEOF_INT) + (3 * Bytes.SIZEOF_BOOLEAN));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user