hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16680) Reduce garbage in BufferChain
Date Thu, 22 Sep 2016 04:50:21 GMT

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

Ashish Singhi commented on HBASE-16680:
---------------------------------------

bq. for (int i = 0; i < cellBlock.size(); i++) {
Nit: extract cellBlock.size() to a variable and use it.

> Reduce garbage in BufferChain
> -----------------------------
>
>                 Key: HBASE-16680
>                 URL: https://issues.apache.org/jira/browse/HBASE-16680
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16680-master.patch
>
>
> BufferChain accept a List<ByteBuffer> and then convert it to ByteBuffer[], we can
directly produce ByteBuffer[] and handle it to BufferChain, so eliminate the object List<ByteBuffer>.



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

Mime
View raw message