-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace tbbmalloc with os native implementations
- Loading branch information
Showing
6 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,16 +19,10 @@ | |
* Author: Robert Nagy, [email protected] | ||
*/ | ||
|
||
// tbbmalloc_proxy: | ||
// Replace the standard memory allocation routines in Microsoft* C/C++ RTL | ||
// (malloc/free, global new/delete, etc.) with the TBB memory allocator. | ||
|
||
#if defined _DEBUG && defined _MSC_VER | ||
#define _CRTDBG_MAP_ALLOC | ||
#include <crtdbg.h> | ||
#include <stdlib.h> | ||
#else | ||
#include <tbb/tbbmalloc_proxy.h> | ||
#endif | ||
|
||
#include "included_modules.h" | ||
|