You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/07/01 21:45:00 UTC
[jira] [Closed] (HBASE-21916) Abstract an ByteBuffAllocator to allocate/free ByteBuffer in ByteBufferPool
[ https://issues.apache.org/jira/browse/HBASE-21916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-21916.
---------------------------------------
> Abstract an ByteBuffAllocator to allocate/free ByteBuffer in ByteBufferPool
> ---------------------------------------------------------------------------
>
> Key: HBASE-21916
> URL: https://issues.apache.org/jira/browse/HBASE-21916
> Project: HBase
> Issue Type: Sub-task
> Reporter: Zheng Hu
> Assignee: Zheng Hu
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.3.0
>
> Attachments: HBASE-21916.HBASE-21879.v1.patch, HBASE-21916.HBASE-21879.v10.patch, HBASE-21916.HBASE-21879.v2.patch, HBASE-21916.HBASE-21879.v3.patch, HBASE-21916.HBASE-21879.v3.patch, HBASE-21916.HBASE-21879.v4.patch, HBASE-21916.HBASE-21879.v5.patch, HBASE-21916.HBASE-21879.v6.patch, HBASE-21916.HBASE-21879.v7.patch, HBASE-21916.HBASE-21879.v8.patch, HBASE-21916.HBASE-21879.v9.patch, HBASE-21916.v1.patch, HBASE-21916.v2.patch, HBASE-21916.v3.patch, HBASE-21916.v4.patch, HBASE-21916.v5.patch
>
>
> Now our read/write path allocate ByteBuffer from the ByteBufferPool, but we need consider the minSizeForReservoirUse for better utilization, those allocate/free api are some static methods, not so good to use.
> For HBASE-21879, we need an universal ByteBuffer allocator to manage all the ByteBuffers through the entire read path, so create this issue.
> Will upload a patch to abstract an ByteBufAllocator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)