Hi,

I've noticed that when linking with the static libjemalloc(_pic).a,
initialization does not occur unless you make a jemalloc call within your
code. In other words, I have to call something like malloc_stats_print() or
malloc_usable_size() to get jemalloc initialized. If I don't do this, the
normal malloc continues to be used. This is different from the behavior of
the shared library. Is this a limitation somewhere, or a bug, or even a
autogen/configure setting that I missed? If it can't be changed/fixed, it
would be great to see this documented - it's certainly not obvious.

Thanks!
--
Adam Fried-Gintis
_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss

Reply via email to