Skip to content

Commit

Permalink
[mimalloc] always commit on-demand
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Nov 29, 2024
1 parent ac676d5 commit 87d142b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/system_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1799,6 +1799,8 @@ class libmimalloc(MTLibrary):
# build emmalloc as only a system allocator, without exporting itself onto
# malloc/free in the global scope
'-DEMMALLOC_NO_STD_EXPORTS',
# always commit on-demand
'-DMI_DEFAULT_EAGER_COMMIT=0',
# build mimalloc with an override of malloc/free
'-DMI_MALLOC_OVERRIDE',
# TODO: add build modes that include debug checks 1,2,3
Expand Down

0 comments on commit 87d142b

Please sign in to comment.