1.. _automatically-replacing-malloc:
2
3Automatically Replacing ``malloc`` and Other C/C++ Functions for Dynamic Memory Allocation
4==========================================================================================
5
6
7On Windows*, Linux\* operating systems, it is possible to automatically
8replace all calls to standard functions for dynamic memory allocation
9(such as ``malloc``) with the |full_name| scalable equivalents.
10Doing so can sometimes improve application performance.
11
12
13Replacements are provided by the proxy library (the library names can be
14found in platform-specific sections below). A proxy library and a
15scalable memory allocator library should be taken from the same release
16of oneTBB, otherwise the libraries may be mutually incompatible.
17
18.. toctree::
19   :maxdepth: 4
20
21   ../tbb_userguide/Windows_C_Dynamic_Memory_Interface_Replacement
22   ../tbb_userguide/Linux_C_Dynamic_Memory_Interface_Replacement
23