This page is not yet finished.

Introduction

This is a course project for 18613 Foundations of Computer System at Carnegie Mellon University.

Concept

C dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely malloc, realloc, calloc and free.

Untitled

Programmers use dynamic memory allocators to acquire virtual memory(VM) at run time. Dynamic memory allocator manages an area of process VM known as heap.

General dynamic memory allocator provides two major function: malloc(size) and free(memory)

Project Objectives

Key Challenges

Design

The sole responsibility for a dynamic memory allocator is managing memory blocks.