mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
Merge branch 'dev3' into dev3-bin
This commit is contained in:
commit
9a4c264e76
20 changed files with 642 additions and 54 deletions
|
@ -47,6 +47,7 @@ int main() {
|
|||
mi_stats_reset(); // ignore earlier allocations
|
||||
various_tests();
|
||||
test_mixed1();
|
||||
|
||||
//test_std_string();
|
||||
//test_thread_local();
|
||||
// heap_thread_free_huge();
|
||||
|
@ -107,6 +108,9 @@ static void various_tests() {
|
|||
t = new (tbuf) Test(42);
|
||||
t->~Test();
|
||||
delete[] tbuf;
|
||||
|
||||
const char* ptr = ::_Getdays(); // test _base overrid
|
||||
free((void*)ptr);
|
||||
}
|
||||
|
||||
class Static {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue