mirror of
https://github.com/gperftools/gperftools
synced 2024-12-21 14:59:58 +00:00
c61f35f04c
Instead of relying on __sbrk (on subset of Linux systems) or invoking sbrk syscall directly (on subset of FreeBSD systems), we have malloc invoke special tcmalloc_hooked_sbrk function. Which handles hooking and then invokes regular system's sbrk. Yes, we loose theoretical ability to hook into non-tcmalloc uses of sbrk, but we gain portable simplicity. |
||
---|---|---|
.. | ||
config.h.in | ||
DefineTargetVariables.cmake | ||
pkgconfig.pc | ||
tcmalloc.h.in |