summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2022-05-11mimalloc: Hide C++ STL allocator implementation on AndroidDanny Lin
When mimalloc is used as the system allocator and compiled as part of Bionic libc on Android, this header is included in C++ code without the STL. Hide the std::allocator interface to fix the build errors. Change-Id: I2f26844296911547b407ed39e2f345d49471fa17
2022-04-14merge from devDaan Leijen
2022-04-14add max segment reclaim as an optionDaan Leijen
2022-04-09merge from devDaan Leijen
2022-04-09remove thread local segment cacheDaan Leijen
2022-04-09merge from devDaan Leijen
2022-04-08add heap walk testDaan Leijen
2022-04-08Merge branch 'dev' of https://github.com/microsoft/mimalloc into devDaan Leijen
2022-04-08Merge branch 'dev-slice' of https://github.com/microsoft/mimalloc into dev-sliceDaan Leijen
2022-04-08Merge branch 'dev' into dev-sliceDaan
2022-04-08fix atomic warnings on clang14 (issue #571)Daan
2022-04-07Merge branch 'dev' into dev-sliceDaan Leijen
2022-04-07improve mi_realloc codepathDaan Leijen
2022-04-07remove unneeded MI_HUGE_OBJ_SIZE_MAXDaan Leijen
2022-02-22Merge branch 'dev' into dev-sliceDaan
2022-02-22add delete nothrow variants for aligned deletion as well (see #551)Daan
2022-02-22Merge pull request #551 from sicherha/override-nothrow-deleteDaan
Fix compatibility with GNU libstdc++ < 9
2022-02-22Fix compatibility with GNU libstdc++ < 9Christoph Erhardt
So far, mimalloc does not override the `nothrow` variants of the `delete` operator because it assumes that their implementation in the C++ standard library redirects to the default `delete` operators. This is not the case for GNU libstdc++ < 9, where `std::free()` is called directly. This issue might be the cause for the crashes reported in #261. Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68210 This commit ensures that the `nothrow` `delete` operators are properly overridden by mimalloc.
2022-02-14merge from devDaan
2022-02-14bump version for further developmentDaan
2022-02-14merge from devDaan
2022-02-14bump to version x.0.5Daan
2022-02-05increase min commit to 2 mibdaan
2022-02-05add minimal commit size for increased efficiency (decommit fine grained, ↵daan
commit coarse grained)
2022-02-04increase minimal commit size to 8*slice-size and add decommit_extend_delay ↵daan
as option
2022-02-03merge from devDaan
2022-02-02Merge pull request #528 from michaeljclark/mimalloc-fixesDaan
mimalloc-types: amend comment adding medium to list of page kinds
2022-02-02Merge pull request #539 from devnexen/obsd_asm_fixDaan
tls revives inline asm for openbsd
2022-02-02merge from devDaan
2022-02-02update documentation on optionsDaan
2022-02-02clean up optionsDaan
2022-02-02decommit in abandoned pages on mi_collectDaan
2022-02-02collect segment cache on mi_collectDaan
2022-01-27tls revives inline asm for openbsdDavid Carlier
2022-01-19mimalloc-types: amend comment adding medium to list of page kindsMichael Clark
2022-01-10Merge branch 'dev' into dev-slicedaan
2022-01-10Merge pull request #517 from tiran/debug-uninitDaan
Allow overrides of MI_DEBUG memory constants
2022-01-10ignore reset_decommits option in the 2.x / dev-slice versionDaan
2022-01-10Merge branch 'dev' into dev-sliceDaan
2022-01-10update copyright yearDaan
2022-01-10Merge branch 'dev' into dev-sliceDaan
2022-01-10avoid conditional load on macosDaan
2022-01-05Allow overrides of MI_DEBUG memory constantsChristian Heimes
CPython and Windows CRT debug builds use different values for uninit, freed, and padding bytes. Make ``MI_DEBUG_*`` constants conditional to allow embedders to override the constants. Windows dbgheap: ``` _bNoMansLandFill = 0xFD _bDeadLandFill = 0xDD _bCleanLandFill = 0xCD ``` Python memory debug ``` PYMEM_CLEANBYTE 0xCD PYMEM_DEADBYTE 0xDD PYMEM_FORBIDDENBYTE 0xFD ``` Signed-off-by: Christian Heimes <christian@python.org>
2022-01-01Merge branch 'dev' into dev-slicedaan
2022-01-01revise assembly test for the _mi_threadid(); fix issue #495 with musl libc ↵daan
on arm; test specifically for bionic libc on Android
2021-12-20Merge pull request #504 from res2k/tweak-stats-docDaan
Tweak documentation for mi_heap_area_t::used.
2021-12-19Tweak documentation for mi_heap_area_t::used.Frank Richter
For microsoft/mimalloc#503.
2021-12-18merge from devdaan
2021-12-18Merge branch 'dev' into dev-sliceDaan Leijen
2021-12-18update alignment testsDaan Leijen