• 2021.6
  • 04/11/2022
  • Public Content
Contents

Automatically Replacing malloc and Other C/C++ Functions for Dynamic Memory Allocation

On Windows*, Linux* operating systems, it is possible to automatically replace all calls to standard functions for dynamic memory allocation (such as
malloc
) with the oneAPI Threading Building Blocks (oneTBB) scalable equivalents. Doing so can sometimes improve application performance.
Replacements are provided by the proxy library (the library names can be found in platform-specific sections below). A proxy library and a scalable memory allocator library should be taken from the same release of oneTBB, otherwise the libraries may be mutually incompatible.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.