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 31495200BDB for ; Mon, 12 Dec 2016 08:25:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2FCF7160B2A; Mon, 12 Dec 2016 07:25:00 +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 9D1CA160B0D for ; Mon, 12 Dec 2016 08:24:59 +0100 (CET) Received: (qmail 40273 invoked by uid 500); 12 Dec 2016 07:24:58 -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 40250 invoked by uid 99); 12 Dec 2016 07:24:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 07:24:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8708F2C03E1 for ; Mon, 12 Dec 2016 07:24:58 +0000 (UTC) Date: Mon, 12 Dec 2016 07:24:58 +0000 (UTC) From: "Xiang Li (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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: Mon, 12 Dec 2016 07:25:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-17254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiang Li updated HBASE-17254: ----------------------------- Description: 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. (was: In KeyValue(and there might be 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.) > 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: Critical > > 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)