[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please test pending bugfix release of base

From: David Chisnall
Subject: Re: Please test pending bugfix release of base
Date: Sat, 18 Jun 2011 14:32:33 +0100

On 18 Jun 2011, at 08:41, Richard Frith-Macdonald wrote:

> I've toyed with the idea of providing a standard mechanism to register 
> objects in some way rather than storing them in static variables, so we could 
> (when in debug mode) release all such registered objects from an atexit 
> handler.   Of course, going through all the codebase and changing all the 
> deliberately 'leaked' data to be registered that way would be a large 
> undertaking for no operational gain ... but the advantage for tracking leaks 
> is big enough that I'd be prepared to devote some time to it.

Valgrind will not report things stored in static variables as leaked (they will 
be in the still reachable at exit total), so anything that valgrind is 
reporting is really being lost.  


-- Sent from my PDP-11

reply via email to

[Prev in Thread] Current Thread [Next in Thread]