hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16496) Hotspotting on SequenceIDAccounting during HLOG Performance Test
Date Thu, 25 Aug 2016 00:53:20 GMT

    [ 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)

Mime
View raw message