mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 20:08:41 +03:00
merge from dev-trace
This commit is contained in:
commit
99c113d573
142 changed files with 3301 additions and 1807 deletions
|
@ -52,7 +52,7 @@ int main() {
|
|||
strdup_test();
|
||||
// corrupt_free();
|
||||
|
||||
//test_mt_shutdown();
|
||||
test_mt_shutdown();
|
||||
//fail_aslr();
|
||||
bench_alloc_large();
|
||||
mi_stats_print(NULL);
|
||||
|
@ -78,7 +78,7 @@ public:
|
|||
static void various_tests() {
|
||||
atexit(free_p);
|
||||
void* p1 = malloc(78);
|
||||
void* p2 = mi_malloc_aligned(16, 24);
|
||||
void* p2 = mi_malloc_aligned(24, 16);
|
||||
free(p1);
|
||||
p1 = malloc(8);
|
||||
char* s = mi_strdup("hello\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue