Live allocation iterator

SNL snl20465 at
Tue Mar 24 04:58:12 PDT 2015

My use case is to walk through all live allocations ( the ones which are
not freed yet) of all sizes the program ever made and dump it as the end of
the program or on demand. I have looked at stats but I want something with
even more details. Basically, the function should be able to iterate
through all arenas and print details on following lines:

arena = 1 base = 0x7fd7beb88800 size = 15 bytes etc

Is there any api in jemalloc which already does subset of this  ? Any
pointers will be helpful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the jemalloc-discuss mailing list