summaryrefslogtreecommitdiff
path: root/include/mimalloc-types.h
AgeCommit message (Collapse)Author
2022-04-09merge from devDaan Leijen
2022-04-09remove thread local segment cacheDaan Leijen
2022-04-07remove unneeded MI_HUGE_OBJ_SIZE_MAXDaan Leijen
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-02Merge pull request #528 from michaeljclark/mimalloc-fixesDaan
mimalloc-types: amend comment adding medium to list of page kinds
2022-01-19mimalloc-types: amend comment adding medium to list of page kindsMichael Clark
2022-01-10Merge branch 'dev' into dev-slicedaan
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>
2021-12-18merge from devdaan
2021-12-18Merge branch 'dev' into dev-sliceDaan Leijen
2021-12-18update alignment testsDaan Leijen
2021-12-17merge from dev (MI_ALIGNED_MAX)daan
2021-12-17restrict max aligment boundary to prevent bug with segment determination ↵daan
(found by Matthew Parkinson).
2021-11-14make segment size smaller on 32-bitdaan
2021-11-14fix slice countdaan
2021-11-14make decommit size equal to slice sizedaan
2021-11-13increase commit mask blocks to 2xslice sizedaan
2021-11-13merge from dev-slicedaan
2021-11-13merge from devdaan
2021-11-13prefix UNUSED,KiB,MiB,GiB; add mi_threadid_t type; add mi_ssize_tdaan
2021-11-13add comments, renamingdaan
2021-11-11fix decommit bugdaan
2021-11-10merge from dev-slicedaan
2021-11-10increase segment size to 64MiBdaan
2021-11-09wip: increase commit mask resolutiondaan
2021-10-19merge from devDaan
2021-10-19Merge pull request #410 from jserv/enforce-binary-prefixDaan
Distinguish SI and Binary Prefixes
2021-10-02add start offset to pages to reduce cache/page effectsDaan Leijen
2021-08-04Fixed typo in headersbmalrat
2021-06-07Merge pull request #412 from diorszeng/dev-sliceDaan
fix typo
2021-06-07fix double quote includesDaan Leijen
2021-06-07Revert "make all includes relative"Daan Leijen
This reverts commit 1feb6123d90f5557a0fc1bc2afc72401e58f8cb0.
2021-06-06Merge branch 'dev' into dev-sliceDaan Leijen
2021-06-06make all includes relativeDaan Leijen
2021-05-31Update mimalloc-types.hdiorszeng
fix typo
2021-05-30Distinguish SI and Binary PrefixesJim Huang
SI prefixes [the decimal prefixes] refer strictly to powers of 10. They should not be used to indicate powers of 2. e.g., one kilobit represents 1000 bits instead of 1024 bits. IEC 60027‐2 symbols are formed adding a "i" to the SI symbol (e.g. G + i = Gi).
2021-04-28merge from devDaan Leijen
2021-04-24Bump copyright dateJim Huang
Each source file has been changed according to relevant Git activities.
2021-04-17Fix typo in commentunknown
it -> if in mimalloc-types.h
2021-01-29merge from devDaan Leijen
2020-12-10merge from devDaan Leijen
2020-11-11Unify statistic collection:Anton Korobeynikov
- For MI_STAT == 0 no allocation stats are collected - For MI_STAT == 1 only aggregated values (across normal, large and huge heaps) are collected - For MI_STAT == 1 separate per-bin collection for normal heap is done as well
2020-11-11Rename the fieldAnton Korobeynikov
2020-11-02Honour MI_STAT in couple more places.Anton Korobeynikov
2020-09-08merge from dev (with is_pinned/is_large separation)daan
2020-09-08track pinned memory separately from large os pagesdaan
2020-09-08refactor segment cache and map in a separate source filedaan
2020-09-05add initial mi_commit_mask abstractiondaan