Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32F66189FB for ; Mon, 15 Jun 2015 19:42:01 +0000 (UTC) Received: (qmail 85837 invoked by uid 500); 15 Jun 2015 19:42:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 85785 invoked by uid 500); 15 Jun 2015 19:42:01 -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 85773 invoked by uid 99); 15 Jun 2015 19:42:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 19:42:00 +0000 Date: Mon, 15 Jun 2015 19:42:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13894) Avoid visitor alloc each call of ByteBufferArray get/putMultiple() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586547#comment-14586547 ] Hudson commented on HBASE-13894: -------------------------------- FAILURE: Integrated in HBase-TRUNK #6572 (See [https://builds.apache.org/job/HBase-TRUNK/6572/]) HBASE-13894 Avoid visitor alloc each call of ByteBufferArray get/putMultiple() (matteo.bertozzi: rev dd086bb22f3131680f1e629d7280ecf1978efe7f) * hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferArray.java > Avoid visitor alloc each call of ByteBufferArray get/putMultiple() > ------------------------------------------------------------------ > > Key: HBASE-13894 > URL: https://issues.apache.org/jira/browse/HBASE-13894 > Project: HBase > Issue Type: Improvement > Components: regionserver > Affects Versions: 2.0.0, 1.0.1, 1.1.0 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Minor > Fix For: 2.0.0, 1.2.0, 1.1.1 > > Attachments: HBASE-13894-v0.patch > > > ByteBufferArray getMultiple()/putMultiple() creates a new Visitor each call. we can move that visitor out. > also, ByteBufferArray.multiple() seems to be an hotspot, I tried to do some experiments using slice and read/write lock instead of a mutex, doesn't seems to change much. any thoughts? -- This message was sent by Atlassian JIRA (v6.3.4#6332)