






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







































Disk Virtual Memory 0 0xFFFFFFFF
Physical Memory
Static data
The Stack
The Heap
The Heap
void *hp = sbrk( N );
N
(really) naive malloc
free?
must support allocation & deallocation
User Process Disk RAM dynamic memory allocator sbrk Heap application program malloc OS kernel
basic issues:
API?
explicit memory management
vs. garbage collection (implicit mem management)