RFC: TCMalloc-style new/delete hooks

David Rigby daver at couchbase.com
Tue Oct 14 10:19:14 PDT 2014


> 
> On 14 Oct 2014, at 17:33, Paul Smith <paul at mad-scientist.net> wrote:
> 
>> On Tue, 2014-10-14 at 16:13 +0000, David Rigby wrote:
>> How would you (Jason?) feel about merging this patch, or something
>> conceptually similar into upstream?
> 
> This implementation looks pretty thread-unsafe... FWIW...
> 

Agreed - it’s really a proof-of-concept - in my use-case I just install the new/delete hooks once on startup and basically leave them there until the end of the program.

I wanted to at least see if people would accept the concept before adding appropriate thread-safety.



DaveR


More information about the jemalloc-discuss mailing list