[ 
https://issues.apache.org/jira/browse/HBASE-15479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15203945#comment-15203945
 ] 

Yu Li commented on HBASE-15479:
-------------------------------

Seems late to join the discussion... From the commit we have changed the map 
key from Long to HRegionInfo, and since HRegionLocation will get cached in 
connection while no more autoboxing for long->Long, the change truly could 
reduce object allocation. However, it seems to me the {{compareTo}} method of 
HRegionInfo has more cost than Long, so could you also share the performance 
boost with the latest patch [~vrodionov]? Thanks.

> No more garbage or beware of autoboxing
> ---------------------------------------
>
>                 Key: HBASE-15479
>                 URL: https://issues.apache.org/jira/browse/HBASE-15479
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.0.0, 1.1.0, 1.2.0
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>             Fix For: 2.0.0, 1.3.0, 1.2.1, 0.98.19, 1.4.0, 1.1.5
>
>         Attachments: HBASE-15479-v1.patch, HBASE-15479-v2.patch
>
>
> Quick journey with JMC in a profile mode revealed very interesting and 
> unexpected heap polluter on a client side. Patch will shortly follow. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to