tree: c1b27cdd41fc563d359703c0bba89f3d1a4f1480 [search]
  1. heap.c
  2. init.c
  3. page-map.c
  4. readme.md
  5. subproc.c
  6. theap.c
src/heap/readme.md

Heaps and Initialization

  • heap.c: First-class heap creation, destruction, ownership, and management.
  • theap.c: Thread-local heap instances and page collection.
  • init.c: Process and thread initialization, shutdown, and initial allocator state.
  • subproc.c: Subprocess allocation domains, metadata allocation, and subprocess lifecycle management.
  • page-map.c: Address-to-page mapping to safely map any pointer to a valid mimalloc page (or NULL).