You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/02/12 09:37:00 UTC

[jira] [Commented] (HBASE-19977) FileMmapEngine allocation of byte buffers should be synchronized

    [ https://issues.apache.org/jira/browse/HBASE-19977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360490#comment-16360490 ] 

Duo Zhang commented on HBASE-19977:
-----------------------------------

An AtomicInteger is enough?

> FileMmapEngine allocation of byte buffers should be synchronized
> ----------------------------------------------------------------
>
>                 Key: HBASE-19977
>                 URL: https://issues.apache.org/jira/browse/HBASE-19977
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>
> Recently we have been testing bucket cache with mmap mode. We found that after the multi threading way of allocating the byte buffers for offheap bucket cache, the creation of the mmapped byte buffers needs to be synchronized for allocating the right sized mmapped buffers.



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