<div dir="ltr"><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature">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.</div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature">I found following threads to be relevant, any inputs on existing implementations will be helpful.</div><div class="gmail_signature"><br></div><div class="gmail_signature"><a href="https://github.com/jemalloc/jemalloc/issues/203">https://github.com/jemalloc/jemalloc/issues/203</a><br></div>
</div>