You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "huginn (Jira)" <ji...@apache.org> on 2026/09/16 13:46:00 UTC

[jira] [Commented] (HBASE-30395) Avoid heap buffer copy in decompression stream fallback

    [ 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)