Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   Memory allocation in c++ (http://www.go4expert.com/forums/memory-allocation-cpp-t23325/)

rahulonly4u 16Sep2010 14:37

Memory allocation in c++
 
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

xpi0t0s 17Sep2010 12:43

Re: Memory allocation in c++
 
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


All times are GMT +5.5. The time now is 13:09.