[
https://issues.apache.org/jira/browse/HBASE-15543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216343#comment-15216343
]
Anoop Sam John commented on HBASE-15543:
----------------------------------------
Even we can do with single Cell object also. ( I consider compaction case
only) There was another patch with a reset API on cell. So only one KeyValue
object will be there. As we traverse through the HFile blocks, we will reset
the offset/length of KeyValue. So it can reduce new Cell object need with
every cell.. How much this will help us wrt GC reduction?
> HFileScannerImpl.getCell() allocates cell object on every call
> --------------------------------------------------------------
>
> Key: HBASE-15543
> URL: https://issues.apache.org/jira/browse/HBASE-15543
> Project: HBase
> Issue Type: Sub-task
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
>
> This accounts for 28% of memory allocation in compaction thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)