Jemalloc debug mode

SNL snl20465 at gmail.com
Fri Jan 30 07:18:30 PST 2015


Two questions:


1. I am using jemalloc-dev version and configured it as follows

./configure --enable-debug --enable-fill --enable-ivsalloc --disable-tcache


I am running following simple test case but double free is not detected,
what am I missing ?


int main()
{
    char * ptr = malloc(1024);
    free(ptr);
    free(ptr);
    return 0;
}


2.  Is quarantine basically a per thread free list ? How does it interact
with tcache ?


Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20150130/7d97751c/attachment.html>


More information about the jemalloc-discuss mailing list