heap management
===

<br/>
Hi, I know there is a meta-data which stores auxiliary information which is used during free(), realloc() when we supply only the pointer.<br/>   
I have few doubts about heap.<br/>

 - Stack is allocated per-process/thread. There is no doubt in that,but
   not sure about heap. Whether a heap information is globally maintained else per-process there will be some mechanism which holds info about allocated memory for that particular process/thread.   <br/><br/>
 - How heap information will be maintained??? I guess hashing mechanism. I googled and tried SO also. most of them explained it as implementation specific.. like that.<br/>

Thanks in advance.




 



