hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12845) ByteBufferOutputStream should grow as direct buffer if the initial buffer is also direct BB
Date Tue, 13 Jan 2015 07:08:35 GMT

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

Mime
View raw message