google / tcmalloc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to start using this by replacing all ".so" files of the gperftools tcmalloc with this tcmalloc 's .so files?

patty641 opened this issue · comments

I'm using the gperftools tcmalloc and want to give the new tcmalloc a try, can I directly do so by replacing all the .so files of the older tcmalloc with this versions .so files?
I'll also replace the header files with the newer header files.
Just wanted to know if this is possible.

The malloc extension API is slightly different. E.g. if you need to access tcmalloc metrics, you will need to customize your code for this version of tcmalloc vs. gperftools tcmalloc. See yugabyte/yugabyte-db@e145d7f, for example.

Also this version of tcmalloc relies on the Abseil library while Gperftools does not.