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 944A0C99E for ; Fri, 8 Jun 2012 16:29:24 +0000 (UTC) Received: (qmail 2141 invoked by uid 500); 8 Jun 2012 16:29:24 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 2092 invoked by uid 500); 8 Jun 2012 16:29:24 -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 2033 invoked by uid 99); 8 Jun 2012 16:29:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 16:29:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 2B298142861 for ; Fri, 8 Jun 2012 16:29:24 +0000 (UTC) Date: Fri, 8 Jun 2012 16:29:24 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: <1438950930.53421.1339172964180.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1917257483.39790.1336498549074.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-5958) Replace ByteString.copyFrom with new ByteString() 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-5958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang resolved HBASE-5958. -------------------------------- Resolution: Invalid Close it as Invalid. > Replace ByteString.copyFrom with new ByteString() > ------------------------------------------------- > > Key: HBASE-5958 > URL: https://issues.apache.org/jira/browse/HBASE-5958 > Project: HBase > Issue Type: Improvement > Components: performance > Affects Versions: 0.96.0 > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Fix For: 0.96.0 > > > ByteString.copyFrom makes a copy of a byte array in case it is changed in other thread. > In most case, we don't need to worry about that. We should avoid copying the bytes > for performance issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira