Re: [GD-General] Memory manager question
Brought to you by:
vexxed72
From: Ivan K. <ik...@ab...> - 2004-12-02 21:29:53
|
Hi, I'm developing a C/C++ library of debugging utilities, you can find it at http://www.ikolev.com/DebugTools After a few unsatisfactory solutions, I finally decided to keep all managed allocations in a splay tree. Whenever a deallocation request arrives, I search the tree for the specified pointer. The performance hit is so negligible, that I decided to keep the memory tracker in release code. Regards, Ivan > From: Carl Bevil <car...@ya...> > To: Gam...@li... > Subject: [GD-General] Memory manager question > Reply-To: gam...@li... > > I'm in the process of installing a memory manager into our code, mainly by overriding new and delete. One of the uncertainties I'm bumping up against is how to know if there are parts of our code that are not using the memory manager (allocating "unmanaged" memory). > > Has anyone come up with a good way of detecting "unmanaged" memory allocation? If not, anyone have tips on minimizing this possiblity? > > Thanks! > > Carl |