Amend HBASE-4381 Refactor split decisions into a split policy class
Adjusts heap size estimates for HRegion and Store to fix failing TestHeapSize. git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1170804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
89c642d754
commit
0b83bf1d7a
|
@ -3690,7 +3690,7 @@ public class HRegion implements HeapSize { // , Writable{
|
|||
public static final long FIXED_OVERHEAD = ClassSize.align(
|
||||
ClassSize.OBJECT +
|
||||
ClassSize.ARRAY +
|
||||
27 * ClassSize.REFERENCE + Bytes.SIZEOF_INT +
|
||||
28 * ClassSize.REFERENCE + Bytes.SIZEOF_INT +
|
||||
(4 * Bytes.SIZEOF_LONG) +
|
||||
Bytes.SIZEOF_BOOLEAN);
|
||||
|
||||
|
|
|
@ -1789,7 +1789,7 @@ public class Store implements HeapSize {
|
|||
|
||||
public static final long FIXED_OVERHEAD = ClassSize.align(
|
||||
ClassSize.OBJECT + (16 * ClassSize.REFERENCE) +
|
||||
(8 * Bytes.SIZEOF_LONG) + (1 * Bytes.SIZEOF_DOUBLE) +
|
||||
(7 * Bytes.SIZEOF_LONG) + (1 * Bytes.SIZEOF_DOUBLE) +
|
||||
(6 * Bytes.SIZEOF_INT) + (3 * Bytes.SIZEOF_BOOLEAN));
|
||||
|
||||
public static final long DEEP_OVERHEAD = ClassSize.align(FIXED_OVERHEAD +
|
||||
|
|
Loading…
Reference in New Issue