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

Nicolas Liochon commented on HBASE-9976:
----------------------------------------

v4 seems ok locally. I've tested it with all the other jiras & in progress: 
yourkit does not show any blocked thread anymore, with two or twenty clients.
The difference seems to come from all the valueOf that check the cache content 
before doing any ByteBuffer to byte array creation.

> Don't create duplicated TableName objects
> -----------------------------------------
>
>                 Key: HBASE-9976
>                 URL: https://issues.apache.org/jira/browse/HBASE-9976
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, regionserver
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>             Fix For: 0.98.0, 0.96.1
>
>         Attachments: 9976.v1.patch, 9976.v4.patch
>
>
> A profiling show that the table name is reponsible for 25% of the memory 
> needed to keep the region locations. As well, comparisons will be faster if 
> two identical table names are a single java object.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to