jemalloc shell wrapper

Jason Evans jasone at canonware.com
Tue Nov 1 22:31:03 PDT 2011


On 10/24/2011 03:00 AM, Antony Dovgal wrote:
> On 10/20/2011 03:00 AM, Jason Evans wrote:
>> On Oct 12, 2011, at 10:39 PM, Antony Dovgal wrote:
>>> Hello all.
>>>
>>> I'd like to propose a small patch that adds an autogenerated shell
>>> script wrapper for jemalloc.
>>> The resulting script is installed into bin/ and uses LD_PRELOAD to
>>> load jemalloc lib.
>>> See the patch attached.
>>
>> This seems like a reasonable addition, though it needs to do something
>> different on OS X (DYLD_INSERT_LIBRARIES?).
>> If you have the time and hardware to test a solution for OS X as well,
>> that would be much appreciated.
>> Otherwise I'll add this to my todo list for the next minor release.
>
> Ok, here is the improved and tested version of the patch.

Applied (with some minor tweaks).  Thanks!

Jason



More information about the jemalloc-discuss mailing list