[
https://issues.apache.org/jira/browse/HBASE-30395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116060#comment-18116060
]
huginn commented on HBASE-30395:
--------------------------------
pr:https://github.com/apache/hbase/pull/8665
> Avoid heap buffer copy in decompression stream fallback
> -------------------------------------------------------
>
> Key: HBASE-30395
> URL: https://issues.apache.org/jira/browse/HBASE-30395
> Project: HBase
> Issue Type: Improvement
> Reporter: huginn
> Priority: Major
>
> Motivation
> The decompression stream fallback currently uses
> BlockIOUtils.readFullyWithHeapBuffer, which allocates a temporary 1 KiB heap
> buffer and copies each read into the destination ByteBuff. This adds an
> avoidable heap buffer copy for on-heap ByteBuff destinations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)