Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5A47D200BD4 for ; Fri, 16 Dec 2016 16:58:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 591EA160B37; Fri, 16 Dec 2016 15:58:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9D3EB160B32 for ; Fri, 16 Dec 2016 16:58:00 +0100 (CET) Received: (qmail 46818 invoked by uid 500); 16 Dec 2016 15:57:59 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 46797 invoked by uid 99); 16 Dec 2016 15:57:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2016 15:57:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 79F132C03E7 for ; Fri, 16 Dec 2016 15:57:59 +0000 (UTC) Date: Fri, 16 Dec 2016 15:57:59 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17254) Do alignment in heapOverhead() for ExtendedCell implementations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 16 Dec 2016 15:58:01 -0000 [ https://issues.apache.org/jira/browse/HBASE-17254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15754793#comment-15754793 ] Anoop Sam John commented on HBASE-17254: ---------------------------------------- NP.. Take ur time... BTW, I have changed the issue to be a minor one.. Not so critical any way. > Do alignment in heapOverhead() for ExtendedCell implementations > --------------------------------------------------------------- > > Key: HBASE-17254 > URL: https://issues.apache.org/jira/browse/HBASE-17254 > Project: HBase > Issue Type: Bug > Affects Versions: 2.0.0 > Reporter: Xiang Li > Assignee: Xiang Li > Priority: Minor > > In KeyValue (and maybe other ExtendedCell implementations), heapOverhead() does not do alignment(padding gap). I think alignment is required when calculating heapOverhead, because the space losses due to alignment can not be used by other objects in heap. -- This message was sent by Atlassian JIRA (v6.3.4#6332)