HBASE-3893 account for new int field for FIXED_OVERHEAD

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1144102 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-07-08 00:27:36 +00:00
parent 6b9b5dbd99
commit f372f3a411
1 changed files with 1 additions and 1 deletions

View File

@ -3613,7 +3613,7 @@ public class HRegion implements HeapSize { // , Writable{
public static final long FIXED_OVERHEAD = ClassSize.align( public static final long FIXED_OVERHEAD = ClassSize.align(
ClassSize.OBJECT + ClassSize.OBJECT +
ClassSize.ARRAY + ClassSize.ARRAY +
27 * ClassSize.REFERENCE + 27 * ClassSize.REFERENCE + Bytes.SIZEOF_INT +
(4 * Bytes.SIZEOF_LONG) + (4 * Bytes.SIZEOF_LONG) +
Bytes.SIZEOF_BOOLEAN); Bytes.SIZEOF_BOOLEAN);