Embedding user metadata along with jemalloc metadata

SNL snl20465 at gmail.com
Mon Apr 13 00:32:08 PDT 2015


On each allocation, I need to book keep 64 bytes of metadata which
describes that allocation. Currently, I do store this metadata outside and
look it up when need arises. Needless to say this slows down things for
heavily multithreaded programs. I am trying to optimize my design and data
structures. It would be great if I can store my metadata along with
jemalloc and look it up using jemalloc's quick look up which is already
optimized for concurrency.


I found following threads to be relevant, any inputs on existing
implementations will be helpful.

https://github.com/jemalloc/jemalloc/issues/203
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20150413/1b9782d0/attachment.html>


More information about the jemalloc-discuss mailing list