Crate libtcmalloc_sys

Source
Expand description

A Rust raw wrapper over Google’s TCMalloc memory allocator

§Feature flags

  • extension — TCMalloc extension API

Functions§

NeedsProcessBackgroundActionsextension
Return true if ProcessBackgroundActions should be called on this platform.
ProcessBackgroundActionsextension
Runs housekeeping actions for the allocator off of the main allocation path.
TCMallocInternalAlignedAlloc
Allocate size bytes aligned by align.
TCMallocInternalFreeAlignedSized
Free previously allocated memory.