Semi-dual use of dynamic and static jemalloc

Roel Van de Paar roel.vandepaar at percona.com
Mon Aug 24 00:58:26 PDT 2015


Hi

I have a question in regards semi-dual use of dynamic and static jemalloc.

What happens if jemalloc is LD_PRELOAD'ed for an executable where such
executable uses a .so library, which in turn is statically linked with
jemalloc?

Does this result in two jemalloc instances running, each managing part of
heap, neither having a complete view of the system etc.?

Use case example;
LD_PRELOAD....jemalloc... mysqld       # where msyqld uses TokuDB .so lib
and this lib has jemalloc statically linked.

Thanks

-- 

Kind Regards,
God Bless,
-- 
Roel Van de Paar, CMDBA/CMDEV Senior QA Lead, Percona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20150824/e8d1fe41/attachment.html>


More information about the jemalloc-discuss mailing list