From 2fbceee8005f8cd9b52a69f16271b73a8d9e7118 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 1 Nov 2010 06:48:33 +0000 Subject: [PATCH] HBASE-3183 fixup of TestHeapSize git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029566 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/hadoop/hbase/regionserver/Store.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java b/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java index 66e8a074bff..105ba8a3779 100644 --- a/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java +++ b/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java @@ -1478,7 +1478,8 @@ public class Store implements HeapSize { public static final long FIXED_OVERHEAD = ClassSize.align( ClassSize.OBJECT + (15 * ClassSize.REFERENCE) + - (5 * Bytes.SIZEOF_LONG) + (3 * Bytes.SIZEOF_INT) + (Bytes.SIZEOF_BOOLEAN * 2)); + (5 * Bytes.SIZEOF_LONG) + + (4 * Bytes.SIZEOF_INT) + (Bytes.SIZEOF_BOOLEAN * 2)); public static final long DEEP_OVERHEAD = ClassSize.align(FIXED_OVERHEAD + ClassSize.OBJECT + ClassSize.REENTRANT_LOCK +