Skip to content

Yexiang Zhou

  • Tech
  • Design
  • Others
  • Tech
  • Design
  • Others

Allocators

2021

Heap Memory Manager: Custom malloc/free and new/delete in C++

A small memory system in C++ that replaces malloc/free and new/delete. A general allocator carves blocks from the end of the heap and merges free blocks back together; three fixed-size allocators handle small allocations with a bit array and _BitScanForward. Written as a course final exam.

December 18, 2021
Tech

Yexiang Zhou © 2026. All Rights Reserved.