Open rjaber opened 3 years ago
There have been internal discussion around alternative, more-featureful APIs for malloc hooks, but these aren't quite ready yet.
Have there been any updates/future considerations on this @ckennelly?
I just hit this as well, trying to update from gperftools to this version. We use these hooks to disallow allocations in hard realtime code. Any hints on where to patch in a callback until the more featureful API merges?
Is there an equivalent in tcmalloc to gperftool's interfaces found in malloc_hook.h, such as AddNewHook and AddDeleteHook?