mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
dtoolutil: Set system malloc tag to mimalloc when enabled
This commit is contained in:
parent
b401884f1c
commit
70415af210
@ -58,6 +58,8 @@ PandaSystem() :
|
|||||||
set_system_tag("system", "malloc", "dlmalloc");
|
set_system_tag("system", "malloc", "dlmalloc");
|
||||||
#elif defined(USE_MEMORY_PTMALLOC2)
|
#elif defined(USE_MEMORY_PTMALLOC2)
|
||||||
set_system_tag("system", "malloc", "ptmalloc2");
|
set_system_tag("system", "malloc", "ptmalloc2");
|
||||||
|
#elif defined(USE_MEMORY_MIMALLOC)
|
||||||
|
set_system_tag("system", "malloc", "mimalloc");
|
||||||
#else
|
#else
|
||||||
set_system_tag("system", "malloc", "malloc");
|
set_system_tag("system", "malloc", "malloc");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user