summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
AgeCommit message (Collapse)Author
2020-01-20merge from devdaan
2020-01-17Add ability to register custom error function called on various error ↵daan
conditions; including ENOMEM
2020-01-16make mimalloc compile with the highest warning level on msvcdaan
2020-01-16rearrange STL allocator code: remove pragma, ifdef for C++11daan
2020-01-15use delayed free for all pages; reduce size of the page structure for ↵daan
improved address calculation
2020-01-15add output argument to stat printingdaan
2020-01-13merge from devdaan
2020-01-08fix bug exposed by commit 59fa286 where reclaimed pages could be stuck to ↵daan
NEVER_DELAYED
2020-01-03increase retire expiration to 4daan
2019-12-28update free list encoding to stronger formula with addition lastdaan
2019-12-28stronger encoding of free lists using two keys per pagedaan
2019-12-22updated random cookie generation using OS primitives and chacha20daan
2019-11-25fix non-standard line continuationdaan
2019-11-25Merge pull request #178 from carenas/masterDaan
avoid deadlock with BSD systems that call malloc from the dynamic linker
2019-11-24avoid deadlock with BSD systems that call malloc from the dynamic linkerCarlo Marcelo Arenas Belón
extend the exception used for macOS to cover also OpenBSD (tested in 6.4+) and DragonFlyBSD (tested in 5.6.2)
2019-11-21wip: delayed decommit on segmentsdaan
2019-11-21merge from dev-expdaan
2019-11-21merge from devdaan
2019-11-21improved security by encoding NULL values; double free mitigation on by ↵daan
default; more precise free list corruption detection
2019-11-20remove reset delay slots; add reset tracking per page and segmentDaan Leijen
2019-11-13merge from devdaan
2019-11-13Adresses pr #165 and issue #164 by @colesbury:daan
On Mac OS, the thread-local _mi_default_heap may get reset before _mi_thread_done is called, leaking the default heap on non-main threads. Now the current default heap is also stored in mi_pthread_key (or mi_fls_key on Windows). The _mi_thread_done function is called with this value.
2019-11-13replace max_numa_nodes by use_numa_nodes (to help with wrong detection of ↵Daan Leijen
numa nodes on WSL for example)
2019-11-12avoid allocation at numa node detection on linuxdaan
2019-11-10merge dev-expdaan
2019-11-10add os cache to arenaDaan Leijen
2019-11-10merge from dev-exp; bitmap based arenaDaan Leijen
2019-11-07refactor and improve atomic bitmap usagedaan
2019-11-04initial delay slotsdaan
2019-11-04merge from dev-expdaan
2019-11-04use int64 for time (instead of double)daan
2019-11-03merge from dev-expdaan
2019-11-03add numa nodes to statsdaan
2019-11-01merge from dev-expdaan
2019-11-01optimized numa calls; better Linux supportdaan
2019-11-01merge from dev-exp (numa support)daan
2019-11-01initial numa support for arenasdaan
2019-10-31merge from dev-expdaan
2019-10-31add arena for huge page managementdaan
2019-10-31initial experiment with fixed memory arena and sliced segmentsdaan
2019-10-30merge from devdaan
2019-10-28enable double free and heap corruption detection in debug modedaan
2019-10-28merge from dev-windaan
2019-10-19fix double free check in secure = 4 mode; inline _mi_ptr_cookiedaan
2019-10-18stronger secure mode when defining MI_SECURE=4: checks for double free, ↵daan
corrupted free list, and invalid pointer frees. Performance is impacted but not too much -- more perf testing is needed
2019-10-17merge from devdaan
2019-10-17update page_flags to have more portable definitiondaan
2019-10-17pick better umul_overflow variant based on size_t sizedaan
2019-10-17pick better umul_overflow variant based on intptr sizedaan
2019-09-11limit aligned allocation to power-of-two alignmentdaan