blob: 4902af4189271a510523a90ed9c7397b4d13aa23 [file] [view] [edit]
# Sources
[`prim`](/include/mimalloc/prim.h) → [`os`](/include/mimalloc/prim/os.h) → [`arena`](/include/mimalloc/arena/arena-page.h`) → [`page`](/include/mimalloc/alloc/page.h) → [`alloc`](alloc/alloc.c)
* [`alloc`](alloc): "front-end": main allocation and free functions.
* [`arena`](arena): "back-end": management of large memory arenas allocated from the OS.
* [`heap`](heap): initialization, first-class heaps, thread local _theaps_, and subprocesses.
* [`prim`](prim): primitive functions needed from the host, and OS level allocations.
* [`profile`](profile): sampling for guarded allocations, profiled allocations, and the default profiler.
* [`util`](util): utility functions, libc, options, random numbers, statistics, and dynamic thread locals.