mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
fix for ensuring heap initialization with static linking on windows on huge allocations (issues #221)
This commit is contained in:
parent
84b9b8878e
commit
afc4f79a69
3 changed files with 6 additions and 4 deletions
|
@ -29,10 +29,12 @@ void various_tests();
|
|||
int main() {
|
||||
mi_stats_reset(); // ignore earlier allocations
|
||||
heap_thread_free_large();
|
||||
/*
|
||||
heap_no_delete();
|
||||
heap_late_free();
|
||||
padding_shrink();
|
||||
various_tests();
|
||||
*/
|
||||
mi_stats_print(NULL);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue