jemalloc shell wrapper

Antony Dovgal tony at daylessday.org
Wed Oct 19 21:31:44 PDT 2011


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?).

Err.. yeah, I didn't think about that. Also some other OSes (e.g. AIX) use a different variable.
I'll look into it today.

-- 
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP



More information about the jemalloc-discuss mailing list