[ 
https://issues.apache.org/jira/browse/HBASE-12845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ramkrishna.s.vasudevan updated HBASE-12845:
-------------------------------------------
    Attachment: HBASE-12845.patch

A simple patch that ensures that when the buffer grows we are creating it as a 
DBB if the initial buffer is also DBB.

> ByteBufferOutputStream should grow as direct buffer if the initial buffer is 
> also direct BB
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12845
>                 URL: https://issues.apache.org/jira/browse/HBASE-12845
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12845.patch
>
>
> Currently ByteBufferOutputStream while trying to expand in 
> checkSizeAndGrow(), allocates the new buffer onheap though the existing 
> buffer is offheap



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to