Skip to content

jparkrighthere/HeapDynamicMemoryAllocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README: p3 p3Heap Dynamic Memory Allocator

### Provided Files
README   link to project page and info about other files
Makefile used by make to build a shared object file needed for testing
p3Heap.h header file with the signatures for public "shared" functions
p3Heap.c source code with functions that must be completed

### To build p3Heap object file:
EDIT     vim p3Heap.c 
COMPILE  make         (this will build p3Heap.o and libheap.so)

### To test heap functions:
cd tests              (change to the tests sub-directory)
make                  (compiles all tests and runs test_align1)
make partA            (runs the tests that only require balloc works)
make partB            (runs the tests that require balloc and bfree)
make partC            (runs the tests that require balloc, bfree, coalesce)

About

This is a program implemented heap memory allocation functions malloc() and free() manually, using implicit free list with delayed coalescing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors