You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2016/08/25 13:07:20 UTC
[jira] [Commented] (HBASE-16502) Reduce garbage in
BufferedDataBlockEncoder
[ https://issues.apache.org/jira/browse/HBASE-16502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436820#comment-15436820 ]
Enis Soztutar commented on HBASE-16502:
---------------------------------------
+1. How did you find this? Through profiling or code reading? Just curious.
> Reduce garbage in BufferedDataBlockEncoder
> ------------------------------------------
>
> Key: HBASE-16502
> URL: https://issues.apache.org/jira/browse/HBASE-16502
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Assignee: binlijin
> Attachments: HBASE-16502-master.patch
>
>
> In BufferedDataBlockEncoder.SeekerState every read will new a tagsBuffer for compressTags. There is no need when no tags or compressTags=false, so we can reduce this new byte[] to reduce garbage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)