arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe L. Korn (JIRA)" <>
Subject [jira] [Commented] (ARROW-360) C++: Add method to shrink PoolBuffer using realloc
Date Tue, 03 Jan 2017 06:12:58 GMT


Uwe L. Korn commented on ARROW-360:

The dummy implementation won't be worse for the current case. I intend to built a custom allocator
based on {{jemalloc}} which should be able to do alligned {{realloc(x)}} calls (see
As I'm not sure about the implications of linking {{jemalloc}}, I would provide a leaf library

> C++: Add method to shrink PoolBuffer using realloc
> --------------------------------------------------
>                 Key: ARROW-360
>                 URL:
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Uwe L. Korn
>            Assignee: Uwe L. Korn
> In the case where we have optimistically allocated a large PoolBuffer, we could shrink
it later again using a call to {{realloc}}. This should free the exceeding memory but avoids
an actual {{memcpy}}.

This message was sent by Atlassian JIRA

View raw message