[Gc] Using gc as leak detector?
bbeuning at corecard.com
Mon Nov 4 05:54:43 PST 2013
----- Original Message -----
From: "Ondřej Bílka" <neleai at seznam.cz>
To: gc at linux.hpl.hp.com
Sent: Monday, November 4, 2013 8:41:39 AM
Subject: [Gc] Using gc as leak detector?
Hi, what I ask now is probably not new so could you point me to prior
Well a garbage collector decides which memory is unreferenced and which
is referenced. A leak detector does almost same thing but must respect
So my question is what if we added extra byte set to zero before each allocation
and free would set this to 1. Now when we find garbage we look if it was
freed and print a leak otherwise.
Gc mailing list
Gc at linux.hpl.hp.com
More information about the Gc