- This will make maintenance for multiple platforms a lot easier (i.e. just preflight)
- Will be easy to get callstack and debug since it will be compiled on the machine it is debugged on
- Easier to try out modifications on mimalloc itself
- Fix mimalloc compilation under Clang 10
- Fix mimalloc inconsistent usage of MI_ENCODE_FREELIST define
- Fix mimalloc inconsistent usage of _WIN32 define
- Implement MacOS and Unix -mimalloc command-line switch
- Some MacOS changes were contributed by Will.Damon
#rb Brandon.Schaefer, Will.Damon
#preflight 60b4ea613c6c4e000158233e
#rnx
[CL 16512512 by danny couture in ue5-main branch]
#jira UE-89981
#rb link.exe
#ROBOMERGE-SOURCE: CL 11897896 in //UE4/Release-4.25/... via CL 11897921
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)
[CL 11897947 by stefan boberg in Main branch]
#rb none
#jira UE-89981
#ROBOMERGE-SOURCE: CL 11880311 in //UE4/Release-4.25/... via CL 11880318
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)
[CL 11880329 by stefan boberg in Main branch]
Performs better than mimalloc in cooker benchmarks, but we still default to TBB malloc until the behaviour has been explored in more depth
To opt in to mimalloc, pass -mimalloc on the command line
#rb none
[CL 11114787 by Stefan Boberg in Dev-Core branch]