> For my own curiosity, how is mdb able to recognize if a memory
> location is still being referenced or not?


::findleaks attempts to treat every pointer-aligned, pointer-sized  
datum as a pointer. It then sees which of the allocated umem buffers  
are reference or unrefernce by those pointers.

Adam

--
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl


Reply via email to