You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zheng Hu (JIRA)" <ji...@apache.org> on 2019/05/14 08:14:00 UTC

[jira] [Created] (HBASE-22412) Replace the O(N) freeBufferCount by usedBufferCount in ByteBuffAllocator metrics

Zheng Hu created HBASE-22412:
--------------------------------

             Summary: Replace the O(N) freeBufferCount by usedBufferCount in ByteBuffAllocator metrics
                 Key: HBASE-22412
                 URL: https://issues.apache.org/jira/browse/HBASE-22412
             Project: HBase
          Issue Type: Sub-task
            Reporter: Zheng Hu
            Assignee: Zheng Hu


Address the comment in HBASE-22387: 
bq. The ByteBuffAllocator#getFreeBufferCount will be O(N) complexity, because the buffers here is an ConcurrentLinkedQueue. It's worth file an issue for this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)