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 45175200B7C for ; Thu, 25 Aug 2016 02:53:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 43DF6160AC5; Thu, 25 Aug 2016 00:53:22 +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 91747160AB1 for ; Thu, 25 Aug 2016 02:53:21 +0200 (CEST) Received: (qmail 91399 invoked by uid 500); 25 Aug 2016 00:53:20 -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 91375 invoked by uid 99); 25 Aug 2016 00:53:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 00:53:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 80B912C0154 for ; Thu, 25 Aug 2016 00:53:20 +0000 (UTC) Date: Thu, 25 Aug 2016 00:53:20 +0000 (UTC) From: "Duo Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16496) Hotspotting on SequenceIDAccounting during HLOG Performance Test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 25 Aug 2016 00:53:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436051#comment-15436051 ] Duo Zhang commented on HBASE-16496: ----------------------------------- Why HashedBytes could be faster than byte[]? I think HashMap will treat byte[] just as an object which means we will use Object.hashCode as hashCode, and the equals will base on address? Thanks. > Hotspotting on SequenceIDAccounting during HLOG Performance Test > ---------------------------------------------------------------- > > Key: HBASE-16496 > URL: https://issues.apache.org/jira/browse/HBASE-16496 > Project: HBase > Issue Type: Bug > Reporter: John Leach > Assignee: John Leach > Priority: Trivial > Attachments: HBASE-16496.patch, HashMap_Hotspot.tiff > > > I was seeing this hotspot for me during my tests. > Adding Pic. -- This message was sent by Atlassian JIRA (v6.3.4#6332)