physical,virtual,malloc
Posted: Mon Oct 16, 2006 8:34 pm
Hi
memory management system consist of three layers
physical,virtual and malloc/new,free/delete,
so... i never used malloc in my normal program,
i used to use new and delete but i don't know exactly
what malloc does.I read some articals
about its job and they said it puts a pointer at some continuous free pages and this pages may not be continuous in the physical memory but they are in the virtual one.
Is this the way the three layers work together?
thats it some explain about malloc,free and the three layers.
Thanx
memory management system consist of three layers
physical,virtual and malloc/new,free/delete,
so... i never used malloc in my normal program,
i used to use new and delete but i don't know exactly
what malloc does.I read some articals
about its job and they said it puts a pointer at some continuous free pages and this pages may not be continuous in the physical memory but they are in the virtual one.
Is this the way the three layers work together?
thats it some explain about malloc,free and the three layers.
Thanx