Memory allocation in c++

rahulonly4u's Avatar, Join Date: Sep 2010
Go4Expert Member
Hi,


From where can we get the Knowledge about Memory allocators i am not concerned about
new and delete operators i want to know when we use new how memory gets allocated to a variable and how it keeps track of amount and address of memory allocated

please
tell me some web links ,books ,references

Regards
Rahul
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
The great thing about Linux is that it's Open Source, so you can look at the code yourself, directly. Here's one I found with Google:
http://www.oldlinux.org/lxr/http/source/lib/malloc.c